Browse code

Modifying changes for issue 25, to fix issue 27

Toon Claes authored on 09/11/2009 at 20:38:40
Showing 1 changed files
... ...
@@ -5,7 +5,7 @@ function git_prompt_info() {
5 5
 }
6 6
 
7 7
 parse_git_dirty () {
8
-  if [[ $((git status &> /dev/null) | tail -n1) != "nothing to commit (working directory clean)" ]]; then
8
+  if [[ $((git status 2> /dev/null) | tail -n1) != "nothing to commit (working directory clean)" ]]; then
9 9
     echo "$ZSH_THEME_GIT_PROMPT_DIRTY"
10 10
   else
11 11
     echo "$ZSH_THEME_GIT_PROMPT_CLEAN"