diff options
author | Michael Allen <michael@michaelallen.io> | 2015-09-16 15:25:54 +0100 |
---|---|---|
committer | Michael Allen <michael@michaelallen.io> | 2015-09-16 15:25:54 +0100 |
commit | eb9c08b9b0e05ca2aaf958e34979f6ae58af4e61 (patch) | |
tree | 71fe36a68b756540e35e996d6a602581c5391d86 | |
parent | 131d04ea52fa194d8e027e495ca3b46e4b36f0ae (diff) | |
download | git-sonar-eb9c08b9b0e05ca2aaf958e34979f6ae58af4e61.tar.gz git-sonar-eb9c08b9b0e05ca2aaf958e34979f6ae58af4e61.zip |
switch prompt files to use new shared render functions
Diffstat (limited to '')
-rwxr-xr-x | prompt.bash | 8 | ||||
-rwxr-xr-x | 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 @@ -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 |