147f1dc70212662fc60a5c21f87dda6b22993c74

Author
Toon Claes <toon@tonotdo.com>
Committer
Toon Claes <toon@tonotdo.com>
Date

Message

Modifying changes for issue 25, to fix issue 27

Diff

 1diff --git a/lib/git.zsh b/lib/git.zsh
 2index 6ef950f121d9c6ef51d0e6e3fafa1c6e0a62b50a..58d826d0c301f93a806e1d4e9eb6d2cbaf489787 100644
 3--- a/lib/git.zsh
 4+++ b/lib/git.zsh
 5@@ -5,7 +5,7 @@ function git_prompt_info() {
 6 }
 7 
 8 parse_git_dirty () {
 9-  if [[ $((git status &> /dev/null) | tail -n1) != "nothing to commit (working directory clean)" ]]; then
10+  if [[ $((git status 2> /dev/null) | tail -n1) != "nothing to commit (working directory clean)" ]]; then
11     echo "$ZSH_THEME_GIT_PROMPT_DIRTY"
12   else
13     echo "$ZSH_THEME_GIT_PROMPT_CLEAN"