Commit b4b50f20 authored by Peter Vandenberk's avatar Peter Vandenberk Committed by Marc Cornellà
Browse files

Also set options for egrep and fgrep

parent b6f2cfdb
...@@ -19,8 +19,10 @@ elif grep-flag-available --exclude=.cvs; then ...@@ -19,8 +19,10 @@ elif grep-flag-available --exclude=.cvs; then
GREP_OPTIONS+=" --exclude=$EXC_FOLDERS" GREP_OPTIONS+=" --exclude=$EXC_FOLDERS"
fi fi
# export grep settings # export grep, egrep and fgrep settings
alias grep="grep $GREP_OPTIONS" alias grep="grep $GREP_OPTIONS"
alias egrep="egrep $GREP_OPTIONS"
alias fgrep="fgrep $GREP_OPTIONS"
# clean up # clean up
unset GREP_OPTIONS unset GREP_OPTIONS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment