diff --git a/.zshrc b/.zshrc index 41ed54e..bfad1a2 100644 --- a/.zshrc +++ b/.zshrc @@ -34,7 +34,9 @@ zinit light zsh-users/zsh-history-substring-search autoload -Uz _zinit (( ${+_comps} )) && _comps[zinit]=_zinit -eval `dircolors` +# Load LS_COLORS if not present +test -n $LS_COLORS || eval $(dircolors) || echo 'Warning: Unable to set LS_COLORS' + # The following lines were added by compinstall zstyle ':completion:*' auto-description '%F{green}Specify%f: %F{cyan}%d%f'