chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a997249
)
dot/shell-rc: Force the policy on `ls', like it is in `diff' and `grep'.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 12 May 2024 23:39:13 +0000
(
00:39
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 12 May 2024 23:39:13 +0000
(
00:39
+0100)
dot/shell-rc
patch
|
blob
|
blame
|
history
diff --git
a/dot/shell-rc
b/dot/shell-rc
index d3a45da187f0a5362db6e3d369456b8e8e068f90..5251e9829979744f4fbe534503d7193e0e5ec63f 100644
(file)
--- a/
dot/shell-rc
+++ b/
dot/shell-rc
@@
-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=a
uto
} "$@"
+ if mdw_colour_p; then command ls $LS_OPTIONS ${LS_COLORS+--color=a
lways
} "$@"
else command ls "$@"; fi
}