aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/ls.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-04-01 21:05:38 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-04-01 21:05:38 +1300
commitdd1b9b2e1ba1ee926400de248a2d9edce8378eaf (patch)
treeff3b4e4e7cb11216a8d2c7d2a984186fdfda3f61 /sh/shrc.d/ls.sh
parentMerge branch 'release/v4.17.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-dd1b9b2e1ba1ee926400de248a2d9edce8378eaf.tar.gz
dotfiles-dd1b9b2e1ba1ee926400de248a2d9edce8378eaf.zip
Merge branch 'release/v4.18.0'v4.18.0
* release/v4.18.0: Bump VERSION Set 'keywordprg' to :help for older Vims Fix up a few cosmetic shell anti-patterns Remove unneeded leading pipe from b:undo_ftplugin
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 1083dfca..203a734f 100644
--- a/sh/shrc.d/ls.sh
+++ b/sh/shrc.d/ls.sh
@@ -28,7 +28,7 @@ ls() {
fi
## Add --color if the terminal has at least 8 colors
if [ -e "$HOME"/.cache/sh/opt/ls/color ] &&
- [ "$(exec 2>/dev/null;tput colors||tput Co||echo 0)" -ge 8 ] ; then
+ [ "$(exec 2>/dev/null;tput colors||tput Co||echo 0)" -ge 8 ] ; then
set -- --color=auto "$@"
fi
## Add --time-style='+%Y-%m-%d %H:%M:%S' to show the date in my preferred