From a37d1d749d6f814b81fb51aac7c304e277fd63bd Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Tue, 24 Jul 2001 07:11:32 +0000 Subject: improve user/host completion before a @ (15468) --- Completion/Unix/Command/_ssh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Completion/Unix') 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=() -- cgit 1.4.1