zsh: don't complete local users in ssh commands
Alan Pearce alan@alanpearce.eu
Tue, 08 Dec 2020 19:39:16 +0100
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M user/zsh/zshrc → 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