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 | |
parent | 32f7b3206172ebc2ca59d609062f585502ac8619 (diff) | |
download | zsh-a37d1d749d6f814b81fb51aac7c304e277fd63bd.tar.gz zsh-a37d1d749d6f814b81fb51aac7c304e277fd63bd.tar.xz zsh-a37d1d749d6f814b81fb51aac7c304e277fd63bd.zip |
improve user/host completion before a @ (15468)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_ssh | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index d89a90512..cf03505ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-07-24 Sven Wischnowsky <wischnow@zsh.org> + + * 15468: Completion/Unix/Command/_ssh: improve user/host + completion before a @ + 2001-07-20 Peter Stephenson <pws@csr.com> * 15432: Functions/Zle/bash-transpose-words, Doc/Zsh/contrib.yo: 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=() |