浏览代码

Merge remote-tracking branch 'upstream/master'

Bob Williams 11 年之前
父节点
当前提交
1ca4e2146b
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      lib/grep.zsh

+ 3 - 2
lib/grep.zsh

@@ -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_COLOR='1;32'
+export GREP_OPTIONS="$GREP_OPTIONS"
+export GREP_COLOR='1;32'