OLD | NEW |
| (Empty) |
1 #compdef tkconch | |
2 _arguments -s -A "-*" \ | |
3 '1:host | user@host:{_ssh;if compset -P "*@"; then _wanted hosts expl "remote ho
st name" _ssh_hosts && ret=0 elif compset -S "@*"; then _wanted users expl "logi
n name" _ssh_users -S "" && ret=0 else if (( $+opt_args[-l] )); then tmp=() else
tmp=( "users:login name:_ssh_users -qS@" ) fi; _alternative "hosts:remote host
name:_ssh_hosts" "$tmp[@]" && ret=0 fi}' \ | |
4 '*:command: ' \ | |
5 '(--ansilog)-a[Print the receieved data to stdout]' \ | |
6 '(-a)--ansilog[Print the receieved data to stdout]' \ | |
7 '(--cipher)-c[Select encryption algorithm.]:cipher:(aes256-ctr aes256-cbc aes192
-ctr aes192-cbc aes128-ctr aes128-cbc cast128-ctr cast128-cbc blowfish-ctr blowf
ish idea-ctridea-cbc 3des-ctr 3des-cbc)' \ | |
8 '(-c)--cipher=[Select encryption algorithm.]:cipher:(aes256-ctr aes256-cbc aes19
2-ctr aes192-cbc aes128-ctr aes128-cbc cast128-ctr cast128-cbc blowfish-ctr blow
fish idea-ctridea-cbc 3des-ctr 3des-cbc)' \ | |
9 '(--compress)-C[Enable compression.]' \ | |
10 '(-C)--compress[Enable compression.]' \ | |
11 "(--escape)-e[Set escape character; \`\`none'' = disable]:escape:_files" \ | |
12 "(-e)--escape=[Set escape character; \`\`none'' = disable]:escape:_files" \ | |
13 '--help[Display this help and exit.]' \ | |
14 '(--identity)-i[Identity for public key authentication]:identity:_files' \ | |
15 '(-i)--identity=[Identity for public key authentication]:identity:_files' \ | |
16 '(--localforward)-L[listen-port:host:port Forward local port to remote address
]:listen-port:host:port:_files' \ | |
17 '(-L)--localforward=[listen-port:host:port Forward local port to remote addres
s]:listen-port:host:port:_files' \ | |
18 '(--log)-v[Log to stderr]' \ | |
19 '(-v)--log[Log to stderr]' \ | |
20 '(--macs)-m[Specify MAC algorithms for protocol version 2.]:macs:(hmac-sha1 hmac
-md5)' \ | |
21 '(-m)--macs=[Specify MAC algorithms for protocol version 2.]:macs:(hmac-sha1 hma
c-md5)' \ | |
22 '(--noshell)-N[Do not execute a shell or command.]' \ | |
23 '(-N)--noshell[Do not execute a shell or command.]' \ | |
24 '(--tty -t --notty)-T[Do not allocate a tty.]' \ | |
25 '(--tty -t -T)--notty[Do not allocate a tty.]' \ | |
26 '(--port)-p[Connect to this port. Server must be on the same port.]:port:_files
' \ | |
27 '(-p)--port=[Connect to this port. Server must be on the same port.]:port:_file
s' \ | |
28 '(--remoteforward)-R[listen-port:host:port Forward remote port to local addres
s]:listen-port:host:port:_files' \ | |
29 '(-R)--remoteforward=[listen-port:host:port Forward remote port to local addre
ss]:listen-port:host:port:_files' \ | |
30 '(--subsystem)-s[Invoke command (mandatory) as SSH2 subsystem.]' \ | |
31 '(-s)--subsystem[Invoke command (mandatory) as SSH2 subsystem.]' \ | |
32 '(--notty -T --tty)-t[Tty; allocate a tty even if command is given.]' \ | |
33 '(--notty -T -t)--tty[Tty; allocate a tty even if command is given.]' \ | |
34 '(--user)-l[Log in using this user name.]:user:_files' \ | |
35 '(-l)--user=[Log in using this user name.]:user:_files' \ | |
36 '(--version)-V[Display version number only.]' \ | |
37 '(-V)--version[Display version number only.]' \ | |
38 && return 0 | |
OLD | NEW |