summary refs log tree commit diff
path: root/Completion/Unix/Command
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
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')
-rw-r--r--Completion/Unix/Command/.distfiles2
-rw-r--r--Completion/Unix/Command/_unace18
2 files changed, 19 insertions, 1 deletions
diff --git a/Completion/Unix/Command/.distfiles b/Completion/Unix/Command/.distfiles
index 156b96220..87ad2c18e 100644
--- a/Completion/Unix/Command/.distfiles
+++ b/Completion/Unix/Command/.distfiles
@@ -31,7 +31,7 @@ _strip          _stty           _su             _subversion     _sudo
 _sysctl         
 _tar            _telnet         _texinfo        _tidy           _tiff           
 _tin            _tla            
-_uniq           _user_admin     _vorbis         _vux            
+_unace          _uniq           _user_admin     _vorbis         _vux            
 _w3m            _webbrowser     _wget           _whereis        _whois          
 _wiggle         _xargs          _xmlsoft        
 _yodl           _yp             _zcat           _zdump          _zip            
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(-.)"'