Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
b4b50f20
Commit
b4b50f20
authored
6 years ago
by
Peter Vandenberk
Committed by
Marc Cornellà
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Also set options for egrep and fgrep
parent
b6f2cfdb
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/grep.zsh
+3
-1
lib/grep.zsh
with
3 additions
and
1 deletion
+3
-1
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
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help