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
d2a765e1
Commit
d2a765e1
authored
Jun 14, 2012
by
nXqd
Committed by
Phil Eichinger
Mar 25, 2014
Browse files
avoid VCS folders
parent
d1323edb
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/grep.zsh
View file @
d2a765e1
...
...
@@ -2,5 +2,11 @@
# Color grep results
# 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'
\ 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