aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.zshrc6
-rw-r--r--SUBSTS3
2 files changed, 4 insertions, 5 deletions
diff --git a/.zshrc b/.zshrc
index 6f95a83..9556184 100644
--- a/.zshrc
+++ b/.zshrc
@@ -135,9 +135,11 @@ if [[ `uname` = "Linux" ]]; then
alias chown="chown -v"
alias chmod="chmod -v"
+ alias ls="ls --classify --color=always" # Add all colours and
+ # have fancy symbols for files, etc.
+elif [[ `uname` = "OpenBSD" && -x /usr/local/bin/colorls ]]; then
+ alias ls="colorls -G"
fi
-alias ls="SUBSTS_LS --classify --color=always" # Add all colours and
- # have fancy symbols for files, etc.
# Cause encfs unmount a mounted encrypted partition after twenty minutes of
# inactivity by default.
diff --git a/SUBSTS b/SUBSTS
index efcd686..e7c8161 100644
--- a/SUBSTS
+++ b/SUBSTS
@@ -27,9 +27,6 @@ PM_EMAIL pipemajor@example.org
# Locale
LOCALE es_ES.UTF-8
-# ls or gls command
-SUBSTS_LS ls
-
# path to msmtp
MSMTP_PATH /usr/bin/msmtp