about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorDoug Kearns <dkearns@users.sourceforge.net>2003-03-18 04:27:57 +0000
committerDoug Kearns <dkearns@users.sourceforge.net>2003-03-18 04:27:57 +0000
commit75bb3e31ab6cfaf4366be4dde45b2714df83fbd3 (patch)
treea88a67a349e1028d43aa5d1d5d0756032147ae4b /Completion
parent9cd59570345a3db2b58ead9816fc16b307b0b55e (diff)
downloadzsh-75bb3e31ab6cfaf4366be4dde45b2714df83fbd3.tar.gz
zsh-75bb3e31ab6cfaf4366be4dde45b2714df83fbd3.tar.xz
zsh-75bb3e31ab6cfaf4366be4dde45b2714df83fbd3.zip
18351: new completion for antiword
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/.distfiles1
-rw-r--r--Completion/Unix/Command/_antiword16
2 files changed, 17 insertions, 0 deletions
diff --git a/Completion/Unix/Command/.distfiles b/Completion/Unix/Command/.distfiles
index 464483893..5f970c5a9 100644
--- a/Completion/Unix/Command/.distfiles
+++ b/Completion/Unix/Command/.distfiles
@@ -19,4 +19,5 @@ _user_admin   _rsync        _arping	  _spamassassin _mtools	      _fsh
 _chkconfig    _cdcd         _irssi	  _sccs         _texinfo      _ant
 _global       _global_tags  _figlet       _ifconfig     _last         _larch
 _lsof         _mt           _xmlsoft      _elinks       _tidy         _python
+_antiword
 '
diff --git a/Completion/Unix/Command/_antiword b/Completion/Unix/Command/_antiword
new file mode 100644
index 000000000..2f99593e4
--- /dev/null
+++ b/Completion/Unix/Command/_antiword
@@ -0,0 +1,16 @@
+#compdef antiword
+
+# Version: 0.33  (05 Jul 2002)
+
+_arguments -s -S \
+  '(-p)-t[text output (default)]' \
+  '(-t -w)-p+[PostScript output]:paper size:(10x14 a3 a4 a5 b4 b5 executive folio legal letter note quarto statement tabloid)' \
+  '-m+[character mapping file]:mapping file:_files' \
+  '(-p)-w+[width in characters of text output]:line width:' \
+  '(-t -w)-i+[image level (PostScript only)]:image level:((0\:use\ non\ standard\ extensions\ from\ Ghostscript 1\:show\ no\ images 2\:PostScript\ level\ 2\ compatible 3\:PostScript\ level\ 3\ compatible))' \
+  '(-t -w)-L[use landscape mode (PostScript only)]' \
+  '-s[show hidden (by Word) text]' \
+  '(* -)-h[give a help message]' \
+  '*:MS Word file:_files -g \*.doc' && return
+
+return 1