From 0458bd504b4bd1cd2521cf9698990037ca241e56 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sat, 19 Apr 2014 16:15:39 -0400 Subject: Fix gitprompt for git 1.9.1 --- .zsh/gitprompt.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.zsh') 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 -- cgit 1.4.1