浏览代码

Change to alias and remove deprecated GREP_COLOR

Ondřej Súkup 10 年之前
父节点
当前提交
dd27087805
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/grep.zsh

+ 2 - 2
lib/grep.zsh

@@ -16,9 +16,9 @@ elif grep-flag-available --exclude=.cvs; then
 fi
 
 # export grep settings
-export GREP_OPTIONS="$GREP_OPTIONS"
-export GREP_COLOR='1;32'
+alias grep="grep $GREP_OPTIONS"
 
 # clean up
+unset GREP_OPTIONS
 unset VCS_FOLDERS
 unfunction grep-flag-available