all repos — nixfiles @ 21da59d201abe84e61e2ba481a7fc40a24b0587f

System and user configuration, managed by nix and home-manager

zsh: don't complete local users in ssh commands
Alan Pearce alan@alanpearce.eu
Tue, 08 Dec 2020 19:39:16 +0100
commit

21da59d201abe84e61e2ba481a7fc40a24b0587f

parent

addad286acc5149cbe53aa219195a657dfc9247e

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M user/zsh/zshrcuser/zsh/zshrc
@@ -68,6 +68,7 @@ zstyle ':completion:*' matcher-list 'm:{a-zA-Z-_}={A-Za-z_-}' 'r:|=*' 'l:|=* r:|=*' zstyle ':completion:*' completer _expand _complete _match
 
 zstyle -e ':completion:*' hosts 'reply=($(< ~/.hosts))'
+zstyle ':completion:*:ssh:*' tag-order '! users'
 
 # General configuration