From 21da59d201abe84e61e2ba481a7fc40a24b0587f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 8 Dec 2020 19:39:16 +0100 Subject: zsh: don't complete local users in ssh commands --- user/zsh/zshrc | 1 + 1 file changed, 1 insertion(+) (limited to 'user/zsh/zshrc') diff --git a/user/zsh/zshrc b/user/zsh/zshrc index 55cf4aa7..e973b3a1 100644 --- a/user/zsh/zshrc +++ b/user/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 -- cgit 1.4.1