summaryrefslogtreecommitdiffstats
path: root/prompt
diff options
context:
space:
mode:
authorMichael Allen <michael@michaelallen.io>2015-09-16 15:29:05 +0100
committerMichael Allen <michael@michaelallen.io>2015-09-16 15:29:05 +0100
commit1f6a8f84946a0cb6936916f47b5a3870fa12a5a6 (patch)
tree71fe36a68b756540e35e996d6a602581c5391d86 /prompt
parent1fcd42c3ecc41b6a6c4c9e75b6bfe274a1b595e2 (diff)
parenteb9c08b9b0e05ca2aaf958e34979f6ae58af4e61 (diff)
downloadgit-sonar-1f6a8f84946a0cb6936916f47b5a3870fa12a5a6.tar.gz
git-sonar-1f6a8f84946a0cb6936916f47b5a3870fa12a5a6.zip
Merge pull request #63 from michaeldfallen/merge-render-functions
Merge render functions
Diffstat (limited to '')
-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