zsh-grawlinson/source/colours.zsh

16 lines
289 B
Bash
Raw Normal View History

2019-10-31 23:18:00 +00:00
#
# colours
#
autoload -U colors && colors
# setup LS_COLORS
if [[ -z "$LS_COLORS" ]]; then
(( $+commands[dircolors] )) && eval "$(dircolors -b)"
fi
# use LS_COLORS for completion
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
# vim: ft=zsh expandtab tabstop=2 shiftwidth=2