diff --git a/oh-my-zsh.zsh b/oh-my-zsh.zsh index a85c306..9d64e9f 100644 --- a/oh-my-zsh.zsh +++ b/oh-my-zsh.zsh @@ -43,6 +43,14 @@ configure_oh_my_zsh() { fi } +configure_zsh() { + [[ -f ~/.dircolors ]] && eval "$(dircolors ~/.dircolors)" + [[ -z "$LS_COLORS" ]] && eval "$(dircolors -b)" + + zstyle ':completion:*' list-colors "${(@s.:.)LS_COLORS}" +} + find_oh_my_zsh configure_oh_my_zsh source "$ZSH/oh-my-zsh.sh" +configure_zsh