about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/.distfiles2
-rw-r--r--Completion/Unix/Command/_rsync5
3 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 350e8b085..deff79751 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-29  Clint Adams  <clint@zsh.org>
+
+	* 16292: Completion/Unix/Command/.distfiles,
+	Completion/Unix/Command/_rsync: completion for rsync.
+
 2001-11-26  Clint Adams  <clint@zsh.org>
 
 	* Gergely Nagy: 16291: Completion/Debian/Command/_dupload:
diff --git a/Completion/Unix/Command/.distfiles b/Completion/Unix/Command/.distfiles
index 6ccc908ab..1a44b1d7d 100644
--- a/Completion/Unix/Command/.distfiles
+++ b/Completion/Unix/Command/.distfiles
@@ -15,5 +15,5 @@ _dd           _gprof        _lynx         _perldoc      _telnet       _pine
 _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
 '
diff --git a/Completion/Unix/Command/_rsync b/Completion/Unix/Command/_rsync
new file mode 100644
index 000000000..cb0261340
--- /dev/null
+++ b/Completion/Unix/Command/_rsync
@@ -0,0 +1,5 @@
+#compdef rsync
+
+_arguments -- '*=COMMAND*:command:_command' \
+              '*=FILE*:file:_files' \
+              '*=DIR*:directory:_files -/'