## vim:ft=zsh zstyle :compinstall filename ~/.zshrc zstyle ':completion:*' cache-path ~/var/cache/zsh zstyle ':completion:*' use-cache true ls-colors: zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} # Mark the current selection when tabbing through possible completions zstyle ':completion:*' menu select=1 # Complete uppercase names with lowercase and spaces with _ zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z} m:_=\\\ ' '' # Be verbose zstyle ':completion:*' verbose true zstyle ':completion:*:descriptions' format \ "${ps_yellow}·${ps_reset} %d ${ps_yellow}·${ps_reset}" zstyle ':completion:*:messages' format \ "${ps_yellow}·${ps_reset} %d ${ps_yellow}·${ps_reset}" zstyle ':completion:*:corrections' format \ "${ps_yellow}·${ps_reset} %d ${ps_yellow}·${ps_reset}" zstyle ':completion:*:warnings' format \ "${ps_red}no match:${ps_reset} %d" zstyle ':completion:*' group-name '' _hosts() { compadd derf.homelinux.org kraftwerk saviour kappa nemesis aneurysm;} compinit -C -d var/cache/zsh/compdump