summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2014-04-19 16:15:39 -0400
committerJune McEnroe <june@causal.agency>2014-04-19 16:15:39 -0400
commit0458bd504b4bd1cd2521cf9698990037ca241e56 (patch)
treeff4e020065a1162a923e5c027d5726521da61f2c
parentAdd gdns (diff)
downloadsrc-0458bd504b4bd1cd2521cf9698990037ca241e56.tar.gz
src-0458bd504b4bd1cd2521cf9698990037ca241e56.zip
Fix gitprompt for git 1.9.1
-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