zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _rsync (was Re: completion for fping (not rsync)? on zsh-users)
       [not found]       ` <20020123153807.GA21276@argo.cit.nih.gov>
@ 2002-02-03  6:10         ` Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2002-02-03  6:10 UTC (permalink / raw)
  To: zsh-workers

> yes this would be for rsync..... I'll work on that this afternoon. I was
> going to peek at _scp, etc.. I did notice that _rsync seems to be
> only half done.

Well, not even half.  Here's some more, not even touching remote
hosts and files.

Index: Completion/Unix/Command/_rsync
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_rsync,v
retrieving revision 1.1
diff -u -r1.1 _rsync
--- Completion/Unix/Command/_rsync	2001/11/29 17:08:02	1.1
+++ Completion/Unix/Command/_rsync	2002/02/03 06:09:27
@@ -1,5 +1,24 @@
 #compdef rsync
 
-_arguments -- '*=COMMAND*:command:_command' \
+_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 -/'


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-02-03  6:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020122191915.GA25925@argo.cit.nih.gov>
     [not found] ` <15438.30441.817950.156120@wischnow.berkom.de>
     [not found]   ` <20020123150253.GA13879@argo.cit.nih.gov>
     [not found]     ` <15438.54627.391890.885390@wischnow.berkom.de>
     [not found]       ` <20020123153807.GA21276@argo.cit.nih.gov>
2002-02-03  6:10         ` PATCH: _rsync (was Re: completion for fping (not rsync)? on zsh-users) Clint Adams

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).