diff options
author | Toon Claes <toon@tonotdo.com> | 2009-11-09 21:38:40 +0100 |
---|---|---|
committer | Toon Claes <toon@tonotdo.com> | 2009-11-09 21:38:40 +0100 |
commit | 147f1dc70212662fc60a5c21f87dda6b22993c74 (patch) | |
tree | c44579fbf3cfe97d8f488e68b55653a74a48b713 | |
parent | 729fd0ab3cae9636ea8d40b76b80a0763c9150da (diff) | |
download | zsh-147f1dc70212662fc60a5c21f87dda6b22993c74.tar.gz zsh-147f1dc70212662fc60a5c21f87dda6b22993c74.tar.bz2 zsh-147f1dc70212662fc60a5c21f87dda6b22993c74.zip |
Modifying changes for issue 25, to fix issue 27
-rw-r--r-- | lib/git.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
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" |