From 6b6467dd66d7d8bd7b2ac357063876f9bed3a3cb Mon Sep 17 00:00:00 2001 From: Michael Allen Date: Wed, 16 Sep 2015 15:37:41 +0100 Subject: Use general render functions rather than zsh specific --- radar-base.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'radar-base.sh') diff --git a/radar-base.sh b/radar-base.sh index 066da99..b7231de 100755 --- a/radar-base.sh +++ b/radar-base.sh @@ -494,16 +494,16 @@ render_prompt() { local_sed="" changes_sed="" if [[ $output =~ ^.*%{remote}.*$ ]]; then - remote_sed="s/%{remote}/$(zsh_color_remote_commits)/" + remote_sed="s/%{remote}/$(color_remote_commits)/" fi if [[ $PROMPT_FORMAT =~ ^.*%{branch}.*$ ]]; then - branch_sed="s/%{branch}/$(zsh_readable_branch_name)/" + branch_sed="s/%{branch}/$(readable_branch_name)/" fi if [[ $PROMPT_FORMAT =~ ^.*%{local}.*$ ]]; then - local_sed="s/%{local}/$(zsh_color_local_commits)/" + local_sed="s/%{local}/$(color_local_commits)/" fi if [[ $PROMPT_FORMAT =~ ^.*%{changes}.*$ ]]; then - changes_sed="s/%{changes}/$(zsh_color_changes_status)/" + changes_sed="s/%{changes}/$(color_changes_status)/" fi sed \ -- cgit v1.2.3