Browse Source

Merge pull request #2643 from mcornella/patch-1

Fix export syntax of $GREP_OPTIONS
Robby Russell 11 years ago
parent
commit
315099d778
1 changed files with 3 additions and 2 deletions
  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'