mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-18 03:11:15 +02:00
24 lines
689 B
Text
24 lines
689 B
Text
#compdef rsync
|
|
|
|
_arguments -C -s \
|
|
'*:local files:_files' \
|
|
'(--verbose)-v[verbose]' \
|
|
'(--quiet)-q[quiet]' \
|
|
'(--checksum)-c[checksum]' \
|
|
'(--archive)-a[archive]' \
|
|
'(--recursive)-r[recursive]' \
|
|
'(--backup)-b[backup]' \
|
|
'(--update)-u[update]' \
|
|
'(--links)-l[links]' \
|
|
'(--perms)-p[perms]' \
|
|
'(--owner)-o[owner]' \
|
|
'(--group)-g[group]' \
|
|
'(--times)-t[times]' \
|
|
'(--dry-run)-n[dry-run]' \
|
|
'(--one-file-system)-x[one-file-system]' \
|
|
'(--rsh)-e[rsh command]:remote command:(rsh ssh)' \
|
|
'(--compress)-z[compress]' \
|
|
'(--help)-h[help]' \
|
|
-- '*=COMMAND*:command:_command' \
|
|
'*=FILE*:file:_files' \
|
|
'*=DIR*:directory:_files -/'
|