diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2016-02-26 16:26:49 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2016-02-26 17:33:04 +0300 |
commit | 9ac79bd3aa49f037d3fc19bdf859b7ae1b05b762 (patch) | |
tree | 8c4130b409d18dbcfdf15fa7cb017e5531c4c10a /powerlevel9k.zsh-theme | |
parent | 2260b83c98ceec8dbf3d79bbc09452d8a20f22b1 (diff) |
Rename VCS default state to `clean`
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 37950e76..4ff14489 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -755,11 +755,11 @@ prompt_vcs() { VCS_WORKDIR_DIRTY=false VCS_WORKDIR_HALF_DIRTY=false - # The vcs segment can have three different states - defaults to ''. + # The vcs segment can have three different states - defaults to 'clean'. local current_state="" typeset -AH vcs_states vcs_states=( - '' 'green' + 'clean' 'green' 'modified' 'red' 'untracked' 'yellow' ) @@ -815,7 +815,7 @@ prompt_vcs() { if [[ "$VCS_WORKDIR_HALF_DIRTY" == true ]]; then current_state='untracked' else - current_state='' + current_state='clean' fi fi "$1_prompt_segment" "${0}_${(U)current_state}" "$2" "${vcs_states[$current_state]}" "$DEFAULT_COLOR" "$vcs_prompt" "$vcs_visual_identifier" |