chiark / gitweb /
dot/shell-rc: Force the policy on `ls', like it is in `diff' and `grep'.
[profile] / dot / shell-rc
index d3a45da187f0a5362db6e3d369456b8e8e068f90..5251e9829979744f4fbe534503d7193e0e5ec63f 100644 (file)
@@ -250,7 +250,7 @@ mdw_colour_p () {
 ## Arrange for `ls' output to be in colour.
 unalias ls 2>/dev/null || :
 ls () {
-  if mdw_colour_p; then command ls $LS_OPTIONS ${LS_COLORS+--color=auto} "$@"
+  if mdw_colour_p; then command ls $LS_OPTIONS ${LS_COLORS+--color=always} "$@"
   else command ls "$@"; fi
 }