summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYannis Mitsos <yannis@mitsos.net>2019-04-22 17:24:48 +0300
committerYannis Mitsos <yannis@mitsos.net>2019-04-22 17:24:48 +0300
commitcfd30e9e5cfbc26ba838e61ed5b93ce116ed5f4a (patch)
tree7357e853a597cc6985d95543eb97194ba1c15f11
parent9b2410fbcfa21d6115219fe626a6f422b578d3ac (diff)
downloadzsh-cfd30e9e5cfbc26ba838e61ed5b93ce116ed5f4a.tar.gz
zsh-cfd30e9e5cfbc26ba838e61ed5b93ce116ed5f4a.tar.bz2
zsh-cfd30e9e5cfbc26ba838e61ed5b93ce116ed5f4a.zip
Colored ls output in FreeBSD #7565
-rw-r--r--lib/theme-and-appearance.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/theme-and-appearance.zsh b/lib/theme-and-appearance.zsh
index 773b5972a..6b6528273 100644
--- a/lib/theme-and-appearance.zsh
+++ b/lib/theme-and-appearance.zsh
@@ -19,7 +19,7 @@ if [[ "$DISABLE_LS_COLORS" != "true" ]]; then
# coreutils, so prefer it to "gls".
gls --color -d . &>/dev/null && alias ls='gls --color=tty'
colorls -G -d . &>/dev/null && alias ls='colorls -G'
- elif [[ "$OSTYPE" == darwin* ]]; then
+ elif [[ "$OSTYPE" == (darwin|freebsd)* ]]; then
# this is a good alias, it works by default just using $LSCOLORS
ls -G . &>/dev/null && alias ls='ls -G'