commit 566b6fdda84db534a0164b0cbaec3a008063bb81
parent 393b000135121a0fc48a7c59539d06bbfba60295
Author: Chris Bracken <chris@bracken.jp>
Date: Wed, 13 Jun 2018 14:54:20 -0700
Replace GREP_OPTIONS with a grep alias
GREP_OPTIONS is deprecated in GNU grep.
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.aliases b/.aliases
@@ -28,5 +28,6 @@ alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -i'
-# ag colour
+# enable colour
+alias grep='grep --color=auto'
alias ag='ag --color-line-number "30;33" --color-path "30;32" --color-match "1;31"'
diff --git a/.zshrc b/.zshrc
@@ -5,7 +5,6 @@ export EDITOR=/usr/bin/vim
export GNUPGHOME="$HOME/.gnupg"
export GOMA_DIR="$HOME/src/goma"
export GPG_TTY="$(tty)"
-export GREP_OPTIONS="--color=auto"
# P4 config
export P4CONFIG=.p4config