aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/ls.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/shrc.d/ls.sh')
-rw-r--r--sh/shrc.d/ls.sh2
1 files changed, 1 insertions, 1 deletions
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