X-Git-Url: https://git.alrj.org/?p=zsh.d.git;a=blobdiff_plain;f=S40_completion;h=ca636bf595fba59795c0cdcc90af9df051b8020d;hp=4c2d9af2e678ab86d7ac7aa5db1669d06e09c8c1;hb=HEAD;hpb=9c2561944d374517bd408197fd056cfb6be8c51d diff --git a/S40_completion b/S40_completion index 4c2d9af..ca636bf 100644 --- a/S40_completion +++ b/S40_completion @@ -2,18 +2,4 @@ autoload -U compinit -hosts=($( ( \ - ( [ -r ~/.ssh/config ] && awk '/^host +[a-z]/ { print $2 }' ~/.ssh/config) ; \ - ( [ -r ~/.ssh/known_hosts ] && awk '{print $1}' ~/.ssh/known_hosts | tr , '\n') \ -) | sort -u)) - -zstyle ':completion:*:hosts' hosts $hosts -zstyle ':completion:*:(ssh|scp|sftp):*' hosts $hosts -zstyle ':completion:*:hosts' list-colors '=(#b)(*)(.lln.iba)=01;30=01;31' '=[^.]#=01;31' - -users=(atihon ccadmin tcsadmin tcs clinical root) -zstyle ':completion:*' users $users - -compdef _hosts cc_sync - compinit