From eb9c08b9b0e05ca2aaf958e34979f6ae58af4e61 Mon Sep 17 00:00:00 2001 From: Michael Allen Date: Wed, 16 Sep 2015 15:25:54 +0100 Subject: switch prompt files to use new shared render functions --- prompt.bash | 8 ++++---- prompt.zsh | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/prompt.bash b/prompt.bash index 264ea7b..51c4db7 100755 --- a/prompt.bash +++ b/prompt.bash @@ -8,10 +8,10 @@ if is_repo; then prepare_bash_colors printf " \x01\033[1;30m\x02git:(\x01\033[0m\x02" if show_remote_status $args; then - bash_color_remote_commits + color_remote_commits fi - bash_readable_branch_name - bash_color_local_commits + readable_branch_name + color_local_commits printf "\x01\033[1;30m\x02)\x01\033[0m\x02" - bash_color_changes_status + color_changes_status fi diff --git a/prompt.zsh b/prompt.zsh index 5a7cb40..2d31820 100755 --- a/prompt.zsh +++ b/prompt.zsh @@ -10,10 +10,10 @@ if is_repo; then prepare_zsh_colors printf '%s' "%{$fg_bold[black]%} git:(%{$reset_color%}" if show_remote_status $args; then - zsh_color_remote_commits + color_remote_commits fi - zsh_readable_branch_name - zsh_color_local_commits + readable_branch_name + color_local_commits printf '%s' "%{$fg_bold[black]%})%{$reset_color%}" - zsh_color_changes_status + color_changes_status fi -- cgit v1.2.3