aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-11 23:34:51 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-11 23:34:51 +1300
commitc7b9bcce58d3b59a110e98453a2394b71b7668e0 (patch)
treee9b79dc2c6fd2d52302cfab49711d1993346f67d
parentMove prompt resetting into its own file (diff)
downloaddotfiles-c7b9bcce58d3b59a110e98453a2394b71b7668e0.tar.gz
dotfiles-c7b9bcce58d3b59a110e98453a2394b71b7668e0.zip
Make some comments less useless
-rw-r--r--sh/shrc.d/grep.sh2
-rw-r--r--sh/shrc.d/ls.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/sh/shrc.d/grep.sh b/sh/shrc.d/grep.sh
index 7b3aea57..fc8f62c0 100644
--- a/sh/shrc.d/grep.sh
+++ b/sh/shrc.d/grep.sh
@@ -2,7 +2,7 @@
# options for us; if not, we won't be wrapping grep(1) with a function at all
[ -d "$HOME"/.cache/grep ] || return
-# Discard GREP_OPTIONS
+# Discard GNU grep(1) environment variables if the environment set them
unset -v GREP_OPTIONS
# Define function proper
diff --git a/sh/shrc.d/ls.sh b/sh/shrc.d/ls.sh
index e29002fe..58263e96 100644
--- a/sh/shrc.d/ls.sh
+++ b/sh/shrc.d/ls.sh
@@ -6,7 +6,7 @@
# does, just get rid of it
unalias ls >/dev/null 2>&1
-# Discard LS_OPTIONS and LS_COLORS
+# Discard GNU ls(1) environment variables if the environment set them
unset -v LS_OPTIONS LS_COLORS
# Define function proper