diff options
author | Ondřej Súkup <mimi.vx@gmail.com> | 2014-11-24 13:08:39 +0100 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2014-12-13 19:57:23 +0100 |
commit | dd270878053a73600382de1c3592c04d985e5e08 (patch) | |
tree | b91d00a1acb046355ccff384e6838fc9d3c84b82 /lib/grep.zsh | |
parent | 711843153d6e53a89d37931217f59c4f6a3a35db (diff) | |
download | zsh-dd270878053a73600382de1c3592c04d985e5e08.tar.gz zsh-dd270878053a73600382de1c3592c04d985e5e08.tar.bz2 zsh-dd270878053a73600382de1c3592c04d985e5e08.zip |
Change to alias and remove deprecated GREP_COLOR
Diffstat (limited to 'lib/grep.zsh')
-rw-r--r-- | lib/grep.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/grep.zsh b/lib/grep.zsh index 4e55464c5..348ebe623 100644 --- a/lib/grep.zsh +++ b/lib/grep.zsh @@ -16,9 +16,9 @@ elif grep-flag-available --exclude=.cvs; then fi # export grep settings -export GREP_OPTIONS="$GREP_OPTIONS" -export GREP_COLOR='1;32' +alias grep="grep $GREP_OPTIONS" # clean up +unset GREP_OPTIONS unset VCS_FOLDERS unfunction grep-flag-available |