diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2015-12-17 12:51:52 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2015-12-17 12:51:52 +0300 |
commit | 7ed0abebd690e4cf111582523f0279bbad6102bb (patch) | |
tree | c6e4937065287bdc0925d60a86b119881e1254da /powerlevel9k.zsh-theme | |
parent | 0cb1c0ffdaf4fe84fa469d827aa4bae67dd89c08 (diff) |
Little VCS segment cleanup.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 6 |
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 } |