diff options
author | Alan Pearce | 2020-12-08 19:39:16 +0100 |
---|---|---|
committer | Alan Pearce | 2020-12-08 20:34:42 +0100 |
commit | 21da59d201abe84e61e2ba481a7fc40a24b0587f (patch) | |
tree | fe2f2fc28ebc827059a752370144fb2e72ba400c | |
parent | addad286acc5149cbe53aa219195a657dfc9247e (diff) | |
download | nixfiles-21da59d201abe84e61e2ba481a7fc40a24b0587f.tar.lz nixfiles-21da59d201abe84e61e2ba481a7fc40a24b0587f.tar.zst nixfiles-21da59d201abe84e61e2ba481a7fc40a24b0587f.zip |
zsh: don't complete local users in ssh commands
-rw-r--r-- | user/zsh/zshrc | 1 |
1 files changed, 1 insertions, 0 deletions
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 |