summary refs log tree commit diff stats
path: root/user/zsh
diff options
context:
space:
mode:
authorAlan Pearce2020-12-08 19:39:16 +0100
committerAlan Pearce2020-12-08 20:34:42 +0100
commit21da59d201abe84e61e2ba481a7fc40a24b0587f (patch)
treefe2f2fc28ebc827059a752370144fb2e72ba400c /user/zsh
parentaddad286acc5149cbe53aa219195a657dfc9247e (diff)
downloadnixfiles-21da59d201abe84e61e2ba481a7fc40a24b0587f.tar.lz
nixfiles-21da59d201abe84e61e2ba481a7fc40a24b0587f.tar.zst
nixfiles-21da59d201abe84e61e2ba481a7fc40a24b0587f.zip
zsh: don't complete local users in ssh commands
Diffstat (limited to 'user/zsh')
-rw-r--r--user/zsh/zshrc1
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