diff options
author | David Phillips <david@sighup.nz> | 2019-03-11 15:11:16 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2019-03-11 15:11:16 +1300 |
commit | 96e7fbc88ace0698a759cf83a9308953851dd019 (patch) | |
tree | b9991eab6389f64075abfaa1d4bed05312baa1d7 /aliases | |
parent | ccc4870b6eda36b03d1a94e15af00dd06be08fa3 (diff) | |
download | dotfiles-96e7fbc88ace0698a759cf83a9308953851dd019.tar.xz |
aliases: Suppress error output from grep test
Diffstat (limited to 'aliases')
-rw-r--r-- | aliases | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ alias pd=popd alias po='pushd $OLDPWD' # Add hotdog opts only if GNUy -if grep -V | grep -q 'GNU grep' ; then +if grep -V 2>/dev/null | grep -q 'GNU grep' ; then alias grep="grep --color=auto" alias egrep="egrep --color=auto" fi |