about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-11-29 17:08:01 +0000
committerClint Adams <clint@users.sourceforge.net>2001-11-29 17:08:01 +0000
commite3e942a005b99e8b35cc9b05d0bb802b9ed8fbe8 (patch)
tree8ad9a3b61896813f33e32ac6cb718a52d1531dfd /Completion/Unix/Command
parentdfb24f53ecfde8b69c899e48207c03f599d84cec (diff)
downloadzsh-e3e942a005b99e8b35cc9b05d0bb802b9ed8fbe8.tar.gz
zsh-e3e942a005b99e8b35cc9b05d0bb802b9ed8fbe8.tar.xz
zsh-e3e942a005b99e8b35cc9b05d0bb802b9ed8fbe8.zip
16292: completion for rsync
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/.distfiles2
-rw-r--r--Completion/Unix/Command/_rsync5
2 files changed, 6 insertions, 1 deletions
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 -/'