diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-07-24 07:11:32 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-07-24 07:11:32 +0000 |
commit | a37d1d749d6f814b81fb51aac7c304e277fd63bd (patch) | |
tree | dc9a01f066168322080a9fce98a5114106d838c9 /Completion/Unix/Command/_ssh | |
parent | 32f7b3206172ebc2ca59d609062f585502ac8619 (diff) | |
download | zsh-a37d1d749d6f814b81fb51aac7c304e277fd63bd.tar.gz zsh-a37d1d749d6f814b81fb51aac7c304e277fd63bd.tar.xz zsh-a37d1d749d6f814b81fb51aac7c304e277fd63bd.zip |
improve user/host completion before a @ (15468)
Diffstat (limited to 'Completion/Unix/Command/_ssh')
-rw-r--r-- | Completion/Unix/Command/_ssh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh index 8b3c8f0c4..6936173f4 100644 --- a/Completion/Unix/Command/_ssh +++ b/Completion/Unix/Command/_ssh @@ -143,6 +143,8 @@ _ssh () { userhost) if compset -P '*@'; then _wanted hosts expl 'remote host name' _ssh_hosts && ret=0 + elif compset -S '@*'; then + _wanted users expl 'login name' _ssh_users -S '' && ret=0 else if (( $+opt_args[-l] )); then tmp=() |