diff options
Diffstat (limited to 'mkshrc')
| -rw-r--r-- | mkshrc | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -53,8 +53,7 @@ setcoloraliases() { alias lm='CLICOLOR_FORCE="1" ls -l | less -r'; fi - grep --help | grep fucks - >/dev/null 2>&1 - if [ $? -eq 0 ] ; then + if echo "color test" | grep -q --color=auto "color test" >/dev/null 2>&1 ; then alias grep="grep --color=auto"; alias egrep='egrep --color=auto' alias search='egrep --color=auto -rnI'; |
