diff options
Diffstat (limited to 'sh/profile.d/grep.sh')
-rw-r--r-- | sh/profile.d/grep.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/profile.d/grep.sh b/sh/profile.d/grep.sh index bcdb009e..4e27b087 100644 --- a/sh/profile.d/grep.sh +++ b/sh/profile.d/grep.sh @@ -1,7 +1,7 @@ # Store grep(1)'s --help output in a variable grep_help=$(grep --help 2>/dev/null) -# Use GREP_COLORS to add color output to grep(1) if option available +# Run dircolors(1) to export LS_COLORS if available and appropriate case $grep_help in *--color*) GREP_COLORS='ms=01;31:mc=01;31:sl=:cx=:fn=35:ln=32:bn=32:se=36' |