summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_rsync
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/_rsync
parent16269: Fix crash on reserved-word completion. (diff)
downloadzsh-e3e942a005b99e8b35cc9b05d0bb802b9ed8fbe8.tar
zsh-e3e942a005b99e8b35cc9b05d0bb802b9ed8fbe8.tar.gz
zsh-e3e942a005b99e8b35cc9b05d0bb802b9ed8fbe8.tar.bz2
zsh-e3e942a005b99e8b35cc9b05d0bb802b9ed8fbe8.tar.lz
zsh-e3e942a005b99e8b35cc9b05d0bb802b9ed8fbe8.tar.xz
zsh-e3e942a005b99e8b35cc9b05d0bb802b9ed8fbe8.tar.zst
zsh-e3e942a005b99e8b35cc9b05d0bb802b9ed8fbe8.zip
16292: completion for rsync
Diffstat (limited to 'Completion/Unix/Command/_rsync')
-rw-r--r--Completion/Unix/Command/_rsync5
1 files changed, 5 insertions, 0 deletions
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 -/'