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
Ohmyzsh
Commits
dd270878
Commit
dd270878
authored
Nov 24, 2014
by
Ondřej Súkup
Committed by
Marc Cornellà
Dec 13, 2014
Browse files
Change to alias and remove deprecated GREP_COLOR
parent
71184315
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/grep.zsh
View file @
dd270878
...
@@ -16,9 +16,9 @@ elif grep-flag-available --exclude=.cvs; then
...
@@ -16,9 +16,9 @@ elif grep-flag-available --exclude=.cvs; then
fi
fi
# export grep settings
# export grep settings
export
GREP_OPTIONS
=
"
$GREP_OPTIONS
"
alias grep
=
"grep
$GREP_OPTIONS
"
export
GREP_COLOR
=
'1;32'
# clean up
# clean up
unset
GREP_OPTIONS
unset
VCS_FOLDERS
unset
VCS_FOLDERS
unfunction grep-flag-available
unfunction grep-flag-available
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