autocompletion.zsh (1064B)
1 # AUTOCOMPLETION 2 fpath=($HOME/.zsh/completion $fpath) 3 autoload -Uz compinit 4 compinit -u 5 #autoload -U ~/.zsh/completion/*(:t) 6 zstyle ':completion:*' auto-description 'specify: %d' 7 zstyle ':completion:*' completer _expand _complete _correct _approximate 8 zstyle ':completion:*' format 'completing %F{10}%d%F{white}' 9 zstyle ':completion:*' group-name '' 10 zstyle ':completion:*' menu select=2 eval "$(dircolors -b)" 11 zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} 12 zstyle ':completion:*' list-colors '' 13 zstyle ':completion:*' list-prompt %SAt %p: hit TAB for more, or the character to insert%s 14 zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=* l:|=*' 15 zstyle ':completion:*' menu select=long 16 zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s 17 zstyle ':completion:*' use-compctl false 18 zstyle ':completion:*' verbose true 19 zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31' 20 zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'