Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: antiword completion
- X-seq: zsh-workers 18351
- From: Doug Kearns <djkea2@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: antiword completion
- Date: Fri, 14 Mar 2003 12:23:57 +1100
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
A new completion function for antiword.
Regards,
Doug
Index: Completion/Unix/Command/_antiword
===================================================================
RCS file: Completion/Unix/Command/_antiword
diff -N Completion/Unix/Command/_antiword
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ Completion/Unix/Command/_antiword 14 Mar 2003 01:18:12 -0000
@@ -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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author