mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-23 07:14:34 +08:00
Change to alias and remove deprecated GREP_COLOR
This commit is contained in:
parent
711843153d
commit
dd27087805
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user