summaryrefslogtreecommitdiff
path: root/lib/git.zsh
diff options
context:
space:
mode:
authorDanielFGray <DanielFGray@gmail.com>2014-11-16 02:47:35 -0600
committerDanielFGray <DanielFGray@gmail.com>2014-11-16 02:47:35 -0600
commit00ec11d3c0a2b2b7413ad84940ddec299aafbb04 (patch)
tree3bff55e3c8efd9a8d2183a4cd95c5b9f59819542 /lib/git.zsh
parentdf5b09e20b05a5ba4234599602f7a74934c916db (diff)
downloadzsh-00ec11d3c0a2b2b7413ad84940ddec299aafbb04.tar.gz
zsh-00ec11d3c0a2b2b7413ad84940ddec299aafbb04.tar.bz2
zsh-00ec11d3c0a2b2b7413ad84940ddec299aafbb04.zip
ignore any grep aliases that might be defined
Diffstat (limited to 'lib/git.zsh')
-rw-r--r--lib/git.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git.zsh b/lib/git.zsh
index aba095422..913a642b3 100644
--- a/lib/git.zsh
+++ b/lib/git.zsh
@@ -78,7 +78,7 @@ function git_prompt_long_sha() {
git_prompt_status() {
INDEX=$(command git status --porcelain -b 2> /dev/null)
STATUS=""
- if $(echo "$INDEX" | grep -E '^\?\? ' &> /dev/null); then
+ if $(echo "$INDEX" | command grep -E '^\?\? ' &> /dev/null); then
STATUS="$ZSH_THEME_GIT_PROMPT_UNTRACKED$STATUS"
fi
if $(echo "$INDEX" | grep '^A ' &> /dev/null); then