diff options
author | Ben Hilburn <bhilburn@gmail.com> | 2015-09-06 00:44:43 +0300 |
---|---|---|
committer | Ben Hilburn <bhilburn@gmail.com> | 2015-09-06 00:44:43 +0300 |
commit | 1390fbdea5b278474eafe889da327979654c0d99 (patch) | |
tree | eee2691dd705d89a8d2dad87747640b171cd6f73 | |
parent | 60d92135cc4de88c0acaf56f026f07f94ad2811f (diff) | |
parent | adbf9947b26eb8ea9df63e5fcd8f25b272bea2fd (diff) |
Merge pull request #88 from dritter/vcs_merge_whitespace_fix
vcs segment: fix extra whitespace in actionformat, remove redundant color setting
-rw-r--r-- | powerlevel9k.zsh-theme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 3dc16edf..cfcecdef 100644 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -220,7 +220,7 @@ VCS_DEFAULT_FORMAT="$VCS_CHANGESET_PREFIX%F{$VCS_FOREGROUND_COLOR}%b%c%u%m%f" zstyle ':vcs_info:git*:*' formats "%F{$VCS_FOREGROUND_COLOR}$VCS_GIT_ICON%f$VCS_DEFAULT_FORMAT" zstyle ':vcs_info:hg*:*' formats "%F{$VCS_FOREGROUND_COLOR}$VCS_HG_ICON%f$VCS_DEFAULT_FORMAT" -zstyle ':vcs_info:*' actionformats " %b %F{red}| %a%f" +zstyle ':vcs_info:*' actionformats "%b %F{red}| %a%f" zstyle ':vcs_info:*' stagedstr " %F{$VCS_FOREGROUND_COLOR}$VCS_STAGED_ICON%f" zstyle ':vcs_info:*' unstagedstr " %F{$VCS_FOREGROUND_COLOR}$VCS_UNSTAGED_ICON%f" @@ -331,7 +331,7 @@ prompt_vcs() { $1_prompt_segment "$0" "green" "$DEFAULT_COLOR" fi - echo -n "%F{$VCS_FOREGROUND_COLOR}%f$vcs_prompt " + echo -n "$vcs_prompt " fi } |