mrrl-system-config-zsh

configuration for zsh on top of MRRL
git clone https://ccx.te2000.cz/git/mrrl-system-config-zsh
Log | Files | Refs

site_zshrc_40_completion (533B)


      1 autoload -Uz compinit
      2 compinit
      3 
      4 zstyle ':completion:*' use-cache on
      5 zstyle ':completion:*' cache-path ~/.zsh/cache
      6 
      7 ############################
      8 # dircolors for completion #
      9 ############################
     10 
     11 if (($+commands[dircolors])); then
     12 	if [[ -e "${HOME}/.dircolors" ]]; then
     13 		eval $(dircolors -b "${HOME}/.dircolors")
     14 	elif [[ -e /etc/DIR_COLORS ]]; then
     15 		eval $(dircolors -b /etc/DIR_COLORS)
     16 	else
     17 		eval $(dircolors -b)
     18 	fi
     19 fi
     20 
     21 [[ -n "$LS_COLORS" ]] && \
     22 	zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
     23 
     24 # vim: ft=zsh