25 lines
988 B
Plaintext
25 lines
988 B
Plaintext
|
|
# enable completion features
|
|
autoload -Uz compinit
|
|
compinit -d ~/.cache/zcompdump
|
|
zstyle ':completion:*:*:*:*:*' menu select
|
|
zstyle ':completion:*' auto-description 'specify: %d'
|
|
zstyle ':completion:*' completer _expand _complete _correct _approximate
|
|
zstyle ':completion:*' format 'Completing %d'
|
|
zstyle ':completion:*' group-name ''
|
|
zstyle ':completion:*' list-colors ''
|
|
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
|
|
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
|
|
zstyle ':completion:*' rehash true
|
|
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
|
|
zstyle ':completion:*' use-compctl false
|
|
zstyle ':completion:*' verbose true
|
|
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
|
|
|
|
# zstyle ':completion:*:*:workon:*' command 'ls -la /opt/pythonenv/'
|
|
zstyle ':completion:*:*:extract:*' file-patterns '*.tar* *.lzma *.bz2 *.zip *.7z'
|
|
|
|
autoload bashcompinit
|
|
bashcompinit
|
|
|