dotfiles/lib/theme.zsh

11 lines
237 B
Bash
Raw Normal View History

2018-08-23 17:25:14 +00:00
#!/usr/bin/env zsh
configure_dircolors() {
[[ -f ~/.dircolors ]] && eval "$(dircolors ~/.dircolors)"
[[ -z "$LS_COLORS" ]] && eval "$(dircolors -b)"
zstyle ':completion:*' list-colors "${(@s.:.)LS_COLORS}"
}
configure_dircolors