Browse files

Output format changed for git >= 1.8

  • Loading branch information...
1 parent 4b60d8e commit f508b6fe2db25402ca71d8f1f6148c44fee37b7e @rodjek committed Jan 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 .zsh/libs/git.zsh
View
2 .zsh/libs/git.zsh
@@ -3,7 +3,7 @@ function parse_git_branch {
}
function parse_git_dirty () {
- if [[ $((git status 2> /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 "!"
else
echo ""

0 comments on commit f508b6f

Please sign in to comment.