new repository without sensitive information
This commit is contained in:
commit
57fa0afede
51 changed files with 1883 additions and 0 deletions
39
modules/completion/init
Normal file
39
modules/completion/init
Normal file
|
@ -0,0 +1,39 @@
|
|||
|
||||
# The following lines were added by compinstall
|
||||
|
||||
#zstyle ':completion::complete:*' completer _complete _ignored _correct
|
||||
|
||||
zstyle ':completion:*' use-cache on
|
||||
zstyle ':completion:*' cache-path ~/.zsh/cache
|
||||
zstyle ':completion:*' completer _complete _ignored _match _approximate _correct
|
||||
zstyle ':completion:*:match:*' original only
|
||||
zstyle ':completion:*:approximate:*' max-errors 'reply=($((($#PREFIX+$#SUFFIX)/3))numeric)'
|
||||
zstyle ':completion:*:functions' ignored-patterns '_*'
|
||||
zstyle ':completion:*' squeeze-slashes true
|
||||
zstyle ':completion:*' expand prefix suffix
|
||||
zstyle ':completion:*' group-name ''
|
||||
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
||||
zstyle ':completion:*' list-prompt '%SAt %p: Hit TAB for more, or the character to insert%s'
|
||||
zstyle ':completion:*' list-suffixes true
|
||||
zstyle ':completion:*' preserve-prefix '//[^/]##/'
|
||||
zstyle ':completion:*' select-prompt '%SScrolling active: current selection at %p%s'
|
||||
zstyle ':completion:*' special-dirs true
|
||||
zstyle ':completion:*' verbose true
|
||||
zstyle :compinstall filename '/etc/zsh/completion'
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
# End of lines added by compinstall
|
||||
|
||||
# ssh known hosts complete
|
||||
{
|
||||
local _myhosts
|
||||
_myhosts=( ${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[0-9]*}%%\ *}%%,*} )
|
||||
zstyle ':completion:*' hosts $_myhosts
|
||||
}&>/dev/null
|
||||
|
||||
zstyle ':completion:*:processes-names' command 'ps c -u ${USER} -o command | uniq'
|
||||
|
||||
compdef _command fork
|
||||
compdef _command detach
|
||||
compdef _command ontv
|
Loading…
Add table
Add a link
Reference in a new issue