about summary refs log tree commit diff
path: root/Completion/Unix/Command/_unace
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2005-03-03 13:54:50 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2005-03-03 13:54:50 +0000
commiteb8232757617f5de0a602f6de27cbc9c77d3447c (patch)
treeb94ae06bf5153571ce7cca28698920edabe13daf /Completion/Unix/Command/_unace
parenta50c752448392ce503e37c968f8cf183923dcd39 (diff)
downloadzsh-eb8232757617f5de0a602f6de27cbc9c77d3447c.tar.gz
zsh-eb8232757617f5de0a602f6de27cbc9c77d3447c.tar.xz
zsh-eb8232757617f5de0a602f6de27cbc9c77d3447c.zip
Henryk Konsek: 20918: new completion for unace
Diffstat (limited to 'Completion/Unix/Command/_unace')
-rw-r--r--Completion/Unix/Command/_unace18
1 files changed, 18 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_unace b/Completion/Unix/Command/_unace
new file mode 100644
index 000000000..8226ec28a
--- /dev/null
+++ b/Completion/Unix/Command/_unace
@@ -0,0 +1,18 @@
+#compdef unace
+
+_arguments -S \
+  '-c[show comments]' \
+  '-f[full path matching]' \
+  '-o[overwrite files]' \
+  '-p+[specify password]:password' \
+  '-y[assume yes on all queries]' \
+  '-x+[specify files to exclude]:files' \
+  '-h[print help information]' \
+  '1:unace command:((
+    e\:extract\ files
+    l\:list\ archive
+    t\:test\ archive\ integrity
+    v\:list\ archive\ \(verbose\)
+    x\:extract\ files\ with\ full\ path
+  ))' \
+  '*:files:_files -g "*.ace(-.)"'