Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _rsync



Completion of modules after :: or rsync://server/ might
be nice.

Index: Completion/Unix/Command/.distfiles
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/.distfiles,v
retrieving revision 1.11
diff -u -r1.11 .distfiles
--- Completion/Unix/Command/.distfiles	2001/09/27 12:03:04	1.11
+++ Completion/Unix/Command/.distfiles	2001/11/29 17:03:34
@@ -15,5 +15,5 @@
 _dict         _grep         _lzop         _prcs         _tiff         _elm
 _diff         _gs           _make         _psutils      _tin	_apm  _mail
 _last         _loadkeys     _modutils     _ruby         _sysctl _links _samba
-_user_admin
+_user_admin   _rsync
 '
Index: Completion/Unix/Command/_rsync
===================================================================
RCS file: _rsync
diff -N _rsync
--- /dev/null	Thu May 24 22:33:05 2001
+++ _rsync	Thu Nov 29 09:03:34 2001
@@ -0,0 +1,5 @@
+#compdef rsync
+
+_arguments -- '*=COMMAND*:command:_command' \
+              '*=FILE*:file:_files' \
+              '*=DIR*:directory:_files -/'



Messages sorted by: Reverse Date, Date, Thread, Author