diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-28 09:45:32 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-28 09:45:32 +0000 |
commit | 8fb50dcf4ff1897d792e488f4d6dfeab2d9a5e19 (patch) | |
tree | 393bf442adec1b1c5d74032dffafb6bc3186295f /Completion/User/_telnet | |
parent | 3e87739e57bade63a8cbfa44f1279afa33c29185 (diff) | |
download | zsh-8fb50dcf4ff1897d792e488f4d6dfeab2d9a5e19.tar.gz zsh-8fb50dcf4ff1897d792e488f4d6dfeab2d9a5e19.tar.xz zsh-8fb50dcf4ff1897d792e488f4d6dfeab2d9a5e19.zip |
zsh-workers/9895
Diffstat (limited to 'Completion/User/_telnet')
-rw-r--r-- | Completion/User/_telnet | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/User/_telnet b/Completion/User/_telnet index fd7edd569..9df23b87c 100644 --- a/Completion/User/_telnet +++ b/Completion/User/_telnet @@ -47,14 +47,14 @@ _arguments -C -s \ case "$state" in hosts) _wanted hosts expl host && - _combination '' hosts-ports-users \ + _combination -s '[@:]' '' users-hosts-ports \ ${opt_args[-l]:+users=${opt_args[-l]:q}} \ hosts "$expl[@]" ;; ports) _wanted ports expl port && - _combination '' hosts-ports-users \ + _combination -s '[@:]' '' users-hosts-ports \ ${opt_args[-l]:+users=${opt_args[-l]:q}} \ hosts="${line[1]:q}" \ ports "$expl[@]" @@ -62,7 +62,7 @@ ports) users) _wanted users expl user && - _combination '' hosts-ports-users \ + _combination -s '[@:]' '' users-hosts-ports \ ${line[2]:+hosts="${line[2]:q}"} \ ${line[3]:+ports="${line[3]:q}"} \ users "$expl[@]" |