summary refs log tree commit diff
path: root/.zsh/gitprompt.zsh
diff options
context:
space:
mode:
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