aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-04-30 15:58:16 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-04-30 15:58:16 +1200
commitacc5b3f10829423fb7d4aca800e94a98f95ea3b4 (patch)
treed118c687a9c9949091de43a734df89de2cf128d4
parentMerge branch 'hotfix/v8.22.1' (diff)
parentBump VERSION (diff)
downloaddotfiles-8.22.2.tar.gz (sig)
dotfiles-8.22.2.zip
Merge branch 'hotfix/v8.22.2'v8.22.2
* hotfix/v8.22.2: Force unwanted --quoting-style option to ls(1) off
-rw-r--r--VERSION4
-rw-r--r--sh/profile.d/options.sh1
-rw-r--r--sh/shrc.d/ls.sh4
3 files changed, 7 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index edb6f1c1..af856bec 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-tejr dotfiles v8.22.1
-Wed, 29 Apr 2020 02:54:12 +0000
+tejr dotfiles v8.22.2
+Thu, 30 Apr 2020 03:57:57 +0000
diff --git a/sh/profile.d/options.sh b/sh/profile.d/options.sh
index ad9d43ab..f9dc3c79 100644
--- a/sh/profile.d/options.sh
+++ b/sh/profile.d/options.sh
@@ -52,5 +52,6 @@ options ls \
block-size \
color \
human-readable \
+ quoting-style \
time-style
)
diff --git a/sh/shrc.d/ls.sh b/sh/shrc.d/ls.sh
index 203a734f..c6558fc3 100644
--- a/sh/shrc.d/ls.sh
+++ b/sh/shrc.d/ls.sh
@@ -31,6 +31,10 @@ ls() {
[ "$(exec 2>/dev/null;tput colors||tput Co||echo 0)" -ge 8 ] ; then
set -- --color=auto "$@"
fi
+ ## Force the new entry quoting off
+ if [ -e "$HOME"/.cache/sh/opt/ls/quoting-style ] ; then
+ set -- --quoting-style=literal "$@"
+ fi
## Add --time-style='+%Y-%m-%d %H:%M:%S' to show the date in my preferred
## (fixed) format
if [ -e "$HOME"/.cache/sh/opt/ls/time-style ] ; then