X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=ec93bdf20319e4ed0e9396865126e5a33efb7767;hb=e0920bfe029d20450c1f728ef30bcec46eadf26d;hp=30f15504135ce42eb48bc9b2e02a1f616a035c22;hpb=b2a42cb947f2a21a42fe2650a47f7d36e3762d59;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 30f1550..ec93bdf 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -339,7 +339,8 @@ if ls --help 2> /dev/null | grep -q GNU; then elif [[ $OSTYPE == freebsd* ]]; then ls_options=( -G ) fi -if grep --help 2> /dev/null | grep -q GNU; then +if grep --help 2> /dev/null | grep -q GNU || \ + [[ $OSTYPE == freebsd* ]]; then grep_options=( --color=auto ) fi