diff options
Diffstat (limited to '.zsh/zshrc')
-rw-r--r-- | .zsh/zshrc/00_colours | 5 | ||||
-rw-r--r-- | .zsh/zshrc/30_aliases | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.zsh/zshrc/00_colours b/.zsh/zshrc/00_colours index fe2f25b..3091075 100644 --- a/.zsh/zshrc/00_colours +++ b/.zsh/zshrc/00_colours @@ -25,4 +25,9 @@ else NO_COLOUR=$'%{\e[0m%}' fi +# colour setup for ls +eval $(dircolors -b) +# colour setup for ls on OS X: +is_darwin && export CLICOLOR=1 + # vim:ft=zsh diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases index f477b50..21847bc 100644 --- a/.zsh/zshrc/30_aliases +++ b/.zsh/zshrc/30_aliases @@ -23,7 +23,6 @@ alias u='umount' # enable color support of ls if [ "${TERM}" != "dumb" ]; then - eval `dircolors -b` alias ls='ls --color=auto' fi |