5289edcee58c6fe5e09ca600aaab1999ceeed945

Author
Marc Cornellà <marc.cornella@live.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

Merge pull request #4592 from jstnlef/fix-weird-unstaged-behavior

Fixing strange git unstaged prompt behavior

Diff

 1diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme
 2index e54346acf846a197cb35dfd2230a841b9cf73a9d..a6bb9c64a63b9dcf6383518b002801b21897f048 100644
 3--- a/themes/agnoster.zsh-theme
 4+++ b/themes/agnoster.zsh-theme
 5@@ -36,7 +36,7 @@ CURRENT_BG='NONE'
 6   local LC_ALL="" LC_CTYPE="en_US.UTF-8"
 7   # NOTE: This segment separator character is correct.  In 2012, Powerline changed
 8   # the code points they use for their special characters. This is the new code point.
 9-  # If this is not working for you, you probably have an old version of the 
10+  # If this is not working for you, you probably have an old version of the
11   # Powerline-patched fonts installed. Download and install the new version.
12   # Do not submit PRs to change this unless you have reviewed the Powerline code point
13   # history and have new information.
14@@ -118,7 +118,7 @@ prompt_git() {
15     zstyle ':vcs_info:*' get-revision true
16     zstyle ':vcs_info:*' check-for-changes true
17     zstyle ':vcs_info:*' stagedstr '✚'
18-    zstyle ':vcs_info:git:*' unstagedstr '●'
19+    zstyle ':vcs_info:*' unstagedstr '●'
20     zstyle ':vcs_info:*' formats ' %u%c'
21     zstyle ':vcs_info:*' actionformats ' %u%c'
22     vcs_info