summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2014-04-19 16:15:39 -0400
committerJune McEnroe <programble@gmail.com>2014-04-19 16:15:39 -0400
commit5d0103ae62c457332ae1add89b7bc4a684363b73 (patch)
tree0c12719ecc8477c10fea2687a3a5c8008276c33a
parentAdd gdns (diff)
downloadsrc-5d0103ae62c457332ae1add89b7bc4a684363b73.tar.gz
src-5d0103ae62c457332ae1add89b7bc4a684363b73.zip
Fix gitprompt for git 1.9.1
Diffstat (limited to '')
-rw-r--r--.zsh/gitprompt.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zsh/gitprompt.zsh b/.zsh/gitprompt.zsh
index 433481b9..9e733181 100644
--- a/.zsh/gitprompt.zsh
+++ b/.zsh/gitprompt.zsh
@@ -21,7 +21,7 @@ function _gitprompt_update {
         _git_status='ahead'
       elif [[ $arr[2] =~ 'diverged' ]]; then
         _git_status='diverged'
-      else
+      elif [[ $arr[2] =~ 'behind' ]]; then
         _git_status='behind'
       fi
     fi