1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-12 08:50:08 +00:00

Also set options for egrep and fgrep

This commit is contained in:
Peter Vandenberk 2018-10-10 17:21:06 +01:00 committed by Marc Cornellà
parent b6f2cfdb93
commit b4b50f20ac

View file

@ -19,8 +19,10 @@ elif grep-flag-available --exclude=.cvs; then
GREP_OPTIONS+=" --exclude=$EXC_FOLDERS"
fi
# export grep settings
# export grep, egrep and fgrep settings
alias grep="grep $GREP_OPTIONS"
alias egrep="egrep $GREP_OPTIONS"
alias fgrep="fgrep $GREP_OPTIONS"
# clean up
unset GREP_OPTIONS