diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-24 11:06:36 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-24 11:06:36 +1200 |
commit | 0738be85e47b44592eaf42657659df6d24b6d7bf (patch) | |
tree | edd2aeb972a56dc35f642bce5c168f2aabba6fe0 /sh | |
parent | Add a few more less(1) settings that seem good (diff) | |
download | dotfiles-0738be85e47b44592eaf42657659df6d24b6d7bf.tar.gz dotfiles-0738be85e47b44592eaf42657659df6d24b6d7bf.zip |
Improve a comment
Diffstat (limited to 'sh')
-rw-r--r-- | sh/shrc.d/grep.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/shrc.d/grep.sh b/sh/shrc.d/grep.sh index 2ccaed69..a52b6f90 100644 --- a/sh/shrc.d/grep.sh +++ b/sh/shrc.d/grep.sh @@ -9,7 +9,7 @@ grep() { [ -e "$HOME"/.cache/grep/binary-files ] && set -- --binary-files=without-match "$@" - # Add --color if the terminal has at least 8 colors + # Add --color=auto if the terminal has at least 8 colors [ -e "$HOME"/.cache/grep/color ] && [ "$({ tput colors || tput Co ; } 2>/dev/null)" -ge 8 ] && set -- --color=auto "$@" |