about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/.distfiles2
-rw-r--r--Completion/Unix/Command/_unace18
3 files changed, 24 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 265573711..c94e60fba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-03  Oliver Kiddle  <opk@zsh.org>
+
+	* Henryk Konsek: 20918 (modified): Completion/Unix/Command/_unace:
+	new completion for unace
+
 2005-03-03  Peter Stephenson  <pws@csr.com>
 
 	* from Wayne, adapted: 20900: another way of preventing
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(-.)"'