X-Git-Url: https://git.alrj.org/?p=zsh.d.git;a=blobdiff_plain;f=S40_completion;h=ca636bf595fba59795c0cdcc90af9df051b8020d;hp=9e51c623838eb9aec55eeaaa54581c01c3521793;hb=HEAD;hpb=e808d77ed363e89fbf07e57e8cfd8608b5bfa2ef diff --git a/S40_completion b/S40_completion index 9e51c62..ca636bf 100644 --- a/S40_completion +++ b/S40_completion @@ -1,13 +1,5 @@ #! /usr/bin/zsh -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:*:hosts' list-colors '=(#b)(*)(.lln.iba)=01;30=01;31' '=[^.]#=01;31' - -users=(atihon ccadmin tcsadmin tcs clinical root) -zstyle ':completion:*' users $users +autoload -U compinit +compinit