diff options
Diffstat (limited to 'share/functions/grep.fish')
-rw-r--r-- | share/functions/grep.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/grep.fish b/share/functions/grep.fish index d34b288d..60e83b20 100644 --- a/share/functions/grep.fish +++ b/share/functions/grep.fish @@ -2,7 +2,7 @@ # Match colors for grep, if supported # -if grep --color=auto --help 1>/dev/null 2>/dev/null +if command grep --color=auto --help 1>/dev/null 2>/dev/null if not set -q GREP_COLOR set -gx GREP_COLOR '97;45' end |