Browse Source

Change to alias and remove deprecated GREP_COLOR

Ondřej Súkup 9 years ago
parent
commit
dd27087805
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/grep.zsh

+ 2 - 2
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