Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
b4b50f20
Commit
b4b50f20
authored
Oct 10, 2018
by
Peter Vandenberk
Committed by
Marc Cornellà
Mar 01, 2020
Browse files
Also set options for egrep and fgrep
parent
b6f2cfdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/grep.zsh
View file @
b4b50f20
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment