From 64b6bd6a8787eac5b189407c701dcf0f510b87c2 Mon Sep 17 00:00:00 2001 From: Hyacinthe Cartiaux Date: Tue, 10 Dec 2013 13:57:45 +0100 Subject: [PATCH] [zsh] Git prompt - manage the new output of git status in 1.8.5.1 --- zsh/prompt_hyacinthe_setup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zsh/prompt_hyacinthe_setup b/zsh/prompt_hyacinthe_setup index 78022b5..9824e7f 100644 --- a/zsh/prompt_hyacinthe_setup +++ b/zsh/prompt_hyacinthe_setup @@ -78,6 +78,8 @@ update_current_git_vars() __CURRENT_GIT_BRANCH_STATUS='ahead' elif [[ $arr[2] =~ 'diverged' ]]; then __CURRENT_GIT_BRANCH_STATUS='diverged' + elif [[ $arr[2] =~ 'up-to-date' ]]; then + __CURRENT_GIT_BRANCH_STATUS='' else __CURRENT_GIT_BRANCH_STATUS='behind' fi