mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Removed invalid option for versions of grep below 2.5.3
Versions of grep below 2.5.3 do not support the --exclude-dir option.
This commit is contained in:
parent
00d6ef8a31
commit
1035b9577a
1 changed files with 0 additions and 3 deletions
|
|
@ -5,9 +5,6 @@
|
||||||
|
|
||||||
# avoid VCS folders
|
# avoid VCS folders
|
||||||
GREP_OPTIONS=
|
GREP_OPTIONS=
|
||||||
for PATTERN in .cvs .git .hg .svn; do
|
|
||||||
GREP_OPTIONS+="--exclude-dir=$PATTERN "
|
|
||||||
done
|
|
||||||
GREP_OPTIONS+="--color=auto"
|
GREP_OPTIONS+="--color=auto"
|
||||||
export GREP_OPTIONS="$GREP_OPTIONS"
|
export GREP_OPTIONS="$GREP_OPTIONS"
|
||||||
export GREP_COLOR='1;32'
|
export GREP_COLOR='1;32'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue