diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-23 04:19:26 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-23 04:19:26 +0000 |
commit | 626e2aeb1657f112feb6d03c34bb9e9f44764c75 (patch) | |
tree | 9e4a306df7b5826a796b99f0b6ffa3423ee9f5f9 /Completion/User/_socket | |
parent | 766fcd5ee2ef632cd982a1ec118dbdfde17c03a8 (diff) | |
download | zsh-626e2aeb1657f112feb6d03c34bb9e9f44764c75.tar.gz zsh-626e2aeb1657f112feb6d03c34bb9e9f44764c75.tar.xz zsh-626e2aeb1657f112feb6d03c34bb9e9f44764c75.zip |
zsh-workers/10195
Diffstat (limited to 'Completion/User/_socket')
-rw-r--r-- | Completion/User/_socket | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Completion/User/_socket b/Completion/User/_socket index dfe8f4844..fecd3e6c0 100644 --- a/Completion/User/_socket +++ b/Completion/User/_socket @@ -39,17 +39,16 @@ command) arg1) if (( $+opt_args[-s] )); then - _wanted ports expl 'port to listen' && _ports "$expl[@]" + _wanted ports expl 'port to listen' _ports else - _wanted hosts expl 'host' && - _combination '' hosts-ports hosts "$expl[@]" + _wanted hosts expl 'host' _combination '' hosts-ports hosts - fi ;; arg2) if (( ! $+opt_args[-s] )); then - _wanted ports expl 'port to connect' && - _combination '' hosts-ports hosts="${line[1]:q}" ports "$expl[@]" + _wanted ports expl 'port to connect' \ + _combination '' hosts-ports hosts="${line[1]:q}" ports - fi ;; esac |