summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-12-17 12:51:52 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-12-17 12:51:52 +0300
commit7ed0abebd690e4cf111582523f0279bbad6102bb (patch)
treec6e4937065287bdc0925d60a86b119881e1254da /powerlevel9k.zsh-theme
parent0cb1c0ffdaf4fe84fa469d827aa4bae67dd89c08 (diff)
Little VCS segment cleanup.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme6
1 files changed, 2 insertions, 4 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 98d54d96..cef789c2 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -724,12 +724,10 @@ prompt_vcs() {
if [[ -n "$vcs_prompt" ]]; then
if [[ "$VCS_WORKDIR_DIRTY" == true ]]; then
- "$1_prompt_segment" "$0_MODIFIED" "$2" "yellow" "$DEFAULT_COLOR"
+ "$1_prompt_segment" "$0_MODIFIED" "$2" "yellow" "$DEFAULT_COLOR" "$vcs_prompt"
else
- "$1_prompt_segment" "$0" "$2" "green" "$DEFAULT_COLOR"
+ "$1_prompt_segment" "$0" "$2" "green" "$DEFAULT_COLOR" "$vcs_prompt"
fi
-
- echo -n "$vcs_prompt "
fi
}