浏览代码

Merge pull request #2643 from mcornella/patch-1

Fix export syntax of $GREP_OPTIONS
Robby Russell 11 年之前
父节点
当前提交
315099d778
共有 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
     GREP_OPTIONS+="--exclude-dir=$PATTERN "
 done
-export GREP_OPTIONS+='--color=auto '
-export GREP_COLOR='1;32'
+GREP_OPTIONS+="--color=auto"
+export GREP_OPTIONS="$GREP_OPTIONS"
+export GREP_COLOR='1;32'