aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/ls.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-07-29 01:31:21 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-07-29 01:31:21 +1200
commit94ca1e53168a6691b2a9d0990290e31e30f97396 (patch)
treefa629f25d8ca3eb823e3c1d662464c05d9255582 /sh/shrc.d/ls.sh
parentStop abusing MANPATH for plenv, pyenv, rbenv (diff)
downloaddotfiles-94ca1e53168a6691b2a9d0990290e31e30f97396.tar.gz
dotfiles-94ca1e53168a6691b2a9d0990290e31e30f97396.zip
Remove disused $OS env var and switch
Diffstat (limited to 'sh/shrc.d/ls.sh')
-rw-r--r--sh/shrc.d/ls.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/sh/shrc.d/ls.sh b/sh/shrc.d/ls.sh
index c6558fc3..6fbfbf61 100644
--- a/sh/shrc.d/ls.sh
+++ b/sh/shrc.d/ls.sh
@@ -41,16 +41,6 @@ ls() {
set -- --time-style='+%Y-%m-%d %H:%M:%S' "$@"
fi
- # If the operating system is FreeBSD, there are some specific options we
- # can add that might mean different things to e.g. GNU ls(1)
- case $OS in
- FreeBSD)
- # -D: Timestamp format
- # -G: Use color
- set -- -D '%Y-%m-%d %H:%M:%S' -G "$@"
- ;;
- esac
-
# Run ls(1) with the concluded arguments
command ls "$@"
}