zsh complete system
This commit is contained in:
parent
44839849b6
commit
4382797c25
@ -19,6 +19,8 @@ zstyle ':completion:*' use-compctl false
|
||||
zstyle ':completion:*' verbose true
|
||||
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
|
||||
zstyle ':completion:*:*:extract:*' file-patterns '*.tar* *.lzma *.bz2 *.zip *.7z'
|
||||
zstyle ':completion:*' complete-options true
|
||||
zstyle ':completion:*' squeeze-slashes true
|
||||
|
||||
zstyle ':completion:*' completer _complete _match _approximate
|
||||
zstyle ':completion:*:match:*' original only
|
||||
@ -31,6 +33,11 @@ zstyle ':completion:*' squeeze-slashes true
|
||||
|
||||
zstyle ':completion:*:cd:*' ignore-parents parent pwd
|
||||
|
||||
zstyle ':completion:*:messages' format ' %F{purple} -- %d --%f'
|
||||
zstyle ':completion:*:warnings' format ' %F{red}-- no matches found --%f'
|
||||
|
||||
zstyle ':autocomplete:*' insert-unambiguous true
|
||||
|
||||
compdef _directories _d
|
||||
compdef _files _f
|
||||
compdef _directories mcd
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user