From 147f1dc70212662fc60a5c21f87dda6b22993c74 Mon Sep 17 00:00:00 2001 From: Toon Claes Date: Mon, 9 Nov 2009 21:38:40 +0100 Subject: [PATCH] Modifying changes for issue 25, to fix issue 27 --- lib/git.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git.zsh b/lib/git.zsh index 6ef950f12..58d826d0c 100644 --- a/lib/git.zsh +++ b/lib/git.zsh @@ -5,7 +5,7 @@ function git_prompt_info() { } parse_git_dirty () { - if [[ $((git status &> /dev/null) | tail -n1) != "nothing to commit (working directory clean)" ]]; then + if [[ $((git status 2> /dev/null) | tail -n1) != "nothing to commit (working directory clean)" ]]; then echo "$ZSH_THEME_GIT_PROMPT_DIRTY" else echo "$ZSH_THEME_GIT_PROMPT_CLEAN"