summaryrefslogtreecommitdiffstats
path: root/prompt
diff options
context:
space:
mode:
authorClaudio Bandera <claudio.bandera@kit.edu>2015-10-16 16:33:50 +0200
committerClaudio Bandera <claudio.bandera@kit.edu>2015-10-16 16:33:50 +0200
commit127e3e5b6d9f95062c6e05e083fbda1860eb647f (patch)
treedaebcb43bcc937582d7b0c0ccff8e8eb025c7803 /prompt
parent740cb5bb91d832b4bdb608280ff7df6812d21e92 (diff)
parent4cd0f2683c43cff423f85de4c1c74831fb3f1bbb (diff)
downloadgit-sonar-127e3e5b6d9f95062c6e05e083fbda1860eb647f.tar.gz
git-sonar-127e3e5b6d9f95062c6e05e083fbda1860eb647f.zip
Merge branch 'michaeldfallen-cbandera_stash_indicator' into feature/stash_indicator
Diffstat (limited to '')
-rwxr-xr-xprompt.bash10
-rwxr-xr-xprompt.zsh10
2 files changed, 2 insertions, 18 deletions
diff --git a/prompt.bash b/prompt.bash
index e923279..444ad7a 100755
--- a/prompt.bash
+++ b/prompt.bash
@@ -6,13 +6,5 @@ source "$dot/radar-base.sh"
if is_repo; then
prepare_bash_colors
- printf " \x01\033[1;30m\x02git:(\x01\033[0m\x02"
- if show_remote_status $args; then
- color_remote_commits
- fi
- readable_branch_name
- color_local_commits
- printf "\x01\033[1;30m\x02)\x01\033[0m\x02"
- color_changes_status
- stash_status
+ render_prompt
fi
diff --git a/prompt.zsh b/prompt.zsh
index 2b3caeb..c2b175a 100755
--- a/prompt.zsh
+++ b/prompt.zsh
@@ -8,13 +8,5 @@ if is_repo; then
autoload colors && colors
prepare_zsh_colors
- printf '%s' "%{$fg_bold[black]%} git:(%{$reset_color%}"
- if show_remote_status $args; then
- color_remote_commits
- fi
- readable_branch_name
- color_local_commits
- printf '%s' "%{$fg_bold[black]%})%{$reset_color%}"
- color_changes_status
- stash_status
+ render_prompt
fi