diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2022-07-29 01:31:21 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2022-07-29 01:31:21 +1200 |
commit | 94ca1e53168a6691b2a9d0990290e31e30f97396 (patch) | |
tree | fa629f25d8ca3eb823e3c1d662464c05d9255582 | |
parent | Stop abusing MANPATH for plenv, pyenv, rbenv (diff) | |
download | dotfiles-94ca1e53168a6691b2a9d0990290e31e30f97396.tar.gz dotfiles-94ca1e53168a6691b2a9d0990290e31e30f97396.zip |
Remove disused $OS env var and switch
-rw-r--r-- | sh/profile.d/os.sh | 3 | ||||
-rw-r--r-- | sh/shrc.d/ls.sh | 10 |
2 files changed, 0 insertions, 13 deletions
diff --git a/sh/profile.d/os.sh b/sh/profile.d/os.sh deleted file mode 100644 index f9d5a79b..00000000 --- a/sh/profile.d/os.sh +++ /dev/null @@ -1,3 +0,0 @@ -# Store the operating system in an environment variable -OS=$(uname) -export OS 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 "$@" } |