aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/profile.d/grep.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/profile.d/grep.sh b/sh/profile.d/grep.sh
index 224fd206..87c9a6cc 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)
-# Run dircolors(1) to export LS_COLORS if available and appropriate
+# Set and export GREP_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'