summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Allen <michael@michaelallen.io>2015-09-16 15:25:54 +0100
committerMichael Allen <michael@michaelallen.io>2015-09-16 15:25:54 +0100
commiteb9c08b9b0e05ca2aaf958e34979f6ae58af4e61 (patch)
tree71fe36a68b756540e35e996d6a602581c5391d86
parent131d04ea52fa194d8e027e495ca3b46e4b36f0ae (diff)
downloadgit-sonar-eb9c08b9b0e05ca2aaf958e34979f6ae58af4e61.tar.gz
git-sonar-eb9c08b9b0e05ca2aaf958e34979f6ae58af4e61.zip
switch prompt files to use new shared render functions
-rwxr-xr-xprompt.bash8
-rwxr-xr-xprompt.zsh8
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