diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-04-30 15:57:39 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-04-30 15:57:39 +1200 |
commit | 9e2187a7a2668312ae14c668cd71b44590d2a62d (patch) | |
tree | b72bd840837e992b8b6ae5d293f9b36cb9f15fde /sh/shrc.d | |
parent | Merge branch 'hotfix/v8.22.1' (diff) | |
download | dotfiles-9e2187a7a2668312ae14c668cd71b44590d2a62d.tar.gz dotfiles-9e2187a7a2668312ae14c668cd71b44590d2a62d.zip |
Force unwanted --quoting-style option to ls(1) off
Diffstat (limited to 'sh/shrc.d')
-rw-r--r-- | sh/shrc.d/ls.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 |