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
315099d7
Commit
315099d7
authored
Mar 22, 2014
by
Robby Russell
Browse files
Merge pull request #2643 from mcornella/patch-1
Fix export syntax of $GREP_OPTIONS
parents
178b5224
12e30faa
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/grep.zsh
View file @
315099d7
...
@@ -8,5 +8,6 @@ GREP_OPTIONS=
...
@@ -8,5 +8,6 @@ GREP_OPTIONS=
for
PATTERN
in
.cvs .git .hg .svn
;
do
for
PATTERN
in
.cvs .git .hg .svn
;
do
GREP_OPTIONS+
=
"--exclude-dir=
$PATTERN
"
GREP_OPTIONS+
=
"--exclude-dir=
$PATTERN
"
done
done
export
GREP_OPTIONS+
=
'--color=auto '
GREP_OPTIONS+
=
"--color=auto"
export
GREP_OPTIONS
=
"
$GREP_OPTIONS
"
export
GREP_COLOR
=
'1;32'
export
GREP_COLOR
=
'1;32'
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