]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - shell/aliases.in
setup.sh: don't display hidden files on BSD's ls as root
[config/dotfiles.git] / shell / aliases.in
index da44147923bb173e5f30f48fbd142c85f64da121..cd9bb63b85cce101ea0b5d031c1381a68842bb96 100644 (file)
@@ -52,10 +52,10 @@ unalias ls 2>/dev/null
 # normal ls which needs CLICOLOR_FORCE so it displays colors when used with a
 # pager. If none work no colors are used.
 #
-# See `setup.sh` for details. LS_ENV and LS_COLOR are replaced with the
-# correct values when this file is generated.
+# See `setup.sh` for details. LS_* are replaced with the appropriate values
+# when this file is generated.
 ls() {
-    LS_ENV command ls LS_COLOR -C -F "$@" 2>&1 | less
+    LS_ENV command ls LS_COLOR LS_OPTIONS -C -F "$@" 2>&1 | less
 }
 
 unalias ll lt la lal lat 2>/dev/null