about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
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 -/'