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
4f9cfee9
Commit
4f9cfee9
authored
Jun 14, 2012
by
nXqd
Browse files
avoid VCS folders
parent
e8d582ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/grep.zsh
View file @
4f9cfee9
...
@@ -2,5 +2,11 @@
...
@@ -2,5 +2,11 @@
# Color grep results
# Color grep results
# Examples: http://rubyurl.com/ZXv
# Examples: http://rubyurl.com/ZXv
#
#
export
GREP_OPTIONS
=
'--color=auto'
# avoid VCS folders
GREP_OPTIONS
=
for
PATTERN
in
.cvs .git .hg .svn
;
do
GREP_OPTIONS+
=
"--exclude-dir=
$PATTERN
"
done
export
GREP_OPTIONS+
=
'--color=auto '
export
GREP_COLOR
=
'1;32'
export
GREP_COLOR
=
'1;32'
\ No newline at end of file
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