From 0738be85e47b44592eaf42657659df6d24b6d7bf Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 24 Aug 2016 11:06:36 +1200 Subject: Improve a comment --- sh/shrc.d/grep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh/shrc.d/grep.sh') 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 "$@" -- cgit v1.2.3