mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Merge 8904d44d8d into ee31abfb2d
This commit is contained in:
commit
0b6e2219ef
1 changed files with 6 additions and 3 deletions
|
|
@ -5,9 +5,12 @@
|
|||
|
||||
# avoid VCS folders
|
||||
GREP_OPTIONS=
|
||||
for PATTERN in .cvs .git .hg .svn; do
|
||||
GREP_OPTIONS+="--exclude-dir=$PATTERN "
|
||||
done
|
||||
if [ $(uname) != "FreeBSD" ]
|
||||
then
|
||||
for PATTERN in .cvs .git .hg .svn; do
|
||||
GREP_OPTIONS+="--exclude-dir=$PATTERN "
|
||||
done
|
||||
fi
|
||||
GREP_OPTIONS+="--color=auto"
|
||||
export GREP_OPTIONS="$GREP_OPTIONS"
|
||||
export GREP_COLOR='1;32'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue