GREP_OPTIONS is deprecated, use an alias
authorJoerg Jaspert <joerg@debian.org>
Thu, 8 Sep 2016 20:38:16 +0000 (22:38 +0200)
committerJoerg Jaspert <joerg@debian.org>
Thu, 8 Sep 2016 20:38:16 +0000 (22:38 +0200)
.zsh/10_Environment.zsh

index 4fddcab..9ebd0c0 100644 (file)
@@ -48,7 +48,7 @@ NULLCMD=${PAGER}
 
 if [[ ${COLORS} == "true" ]]; then
     # grep with colors
-    export GREP_OPTIONS='--color=auto'
+    alias grep='grep --color=auto'
 
     if zstyle -T ':ganneff:config' solarizedls; then
         # solarized ls colors