Change to alias and remove deprecated GREP_COLOR

This commit is contained in:
Ondřej Súkup 2014-11-24 13:08:39 +01:00 committed by Marc Cornellà
parent 711843153d
commit dd27087805

View File

@ -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