=== modified file 'zsh-functions/site_zshrc_40_completion' --- zsh-functions/site_zshrc_40_completion 2015-05-15 21:12:35 +0000 +++ zsh-functions/site_zshrc_40_completion 2013-06-04 18:44:28 +0000 @@ -8,17 +8,11 @@ # dircolors for completion # ############################ -if (($+commands[dircolors])); then - if [[ -e "${HOME}/.dircolors" ]]; then - eval $(dircolors -b "${HOME}/.dircolors") - elif [[ -e /etc/DIR_COLORS ]]; then - eval $(dircolors -b /etc/DIR_COLORS) - else - eval $(dircolors -b) - fi +if [ -e "${HOME}/.dircolors" ]; then + eval $(dircolors -b "${HOME}/.dircolors") +elif [ -e /etc/DIR_COLORS ] +then + eval $(dircolors -b /etc/DIR_COLORS) fi -[[ -n "$LS_COLORS" ]] && \ - zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} - -# vim: ft=zsh +zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}