dd270878053a73600382de1c3592c04d985e5e08
- Author
- Ondřej Súkup <mimi.vx@gmail.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
Change to alias and remove deprecated GREP_COLOR
Diff
1diff --git a/lib/grep.zsh b/lib/grep.zsh
2index 4e55464c5b4ddf83b8ced482a55c1eb02348f88d..348ebe62316d8e3865949dcf01fd8906bd6c467b 100644
3--- a/lib/grep.zsh
4+++ b/lib/grep.zsh
5@@ -16,9 +16,9 @@ elif grep-flag-available --exclude=.cvs; then
6 fi
7
8 # export grep settings
9-export GREP_OPTIONS="$GREP_OPTIONS"
10-export GREP_COLOR='1;32'
11+alias grep="grep $GREP_OPTIONS"
12
13 # clean up
14+unset GREP_OPTIONS
15 unset VCS_FOLDERS
16 unfunction grep-flag-available