b6f4a887acb5b70acaf3d15b32d23c642a98cabe

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #2131 from stevschmid/patch-1

Fix gallois theme

Diff

 1diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
 2index c7e98654aa1e4be1b3ad8b56438e57f3cb03dcfc..7b3cec27d16ba2a34cb708d43097dd398b87af67 100644
 3--- a/plugins/git/git.plugin.zsh
 4+++ b/plugins/git/git.plugin.zsh
 5@@ -142,7 +142,7 @@ compdef _git glp=git-log
 6 #
 7 # This function return a warning if the current branch is a wip
 8 function work_in_progress() {
 9-  if $(git log -n 1 | grep -q -c wip); then
10+  if $(git log -n 1 2>/dev/null | grep -q -c wip); then
11     echo "WIP!!"
12   fi
13 }