Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _ps, _pdf and _pspdf.



This is _ps, _pdf update and new _pspdf.

* _ps didn't require a dot before suffix.
* I think pstruct is not related to postscript. At least, pstruct in perl is so.
* More commands. (gs, psutils, xpdf, etc.)
* Some commands based on gs accept files both ps and pdf.

--- Completion/User/_ps-	Mon Jul 12 17:08:31 1999
+++ Completion/User/_ps	Wed Aug 11 18:10:57 1999
@@ -1,3 +1,10 @@
-#compdef  gs ghostview gv gview psnup psselect pswrap pstops pstruct lpr lp
+#compdef ps2epsi ps2pdf epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps includeres psbook psmerge psnup psresize psselect pstops psmulti pswrap lpr lp
 
-_files -g '*([pP][sS]|eps)'
+# ghostscript:
+#  ps2epsi ps2pdf
+# psutils:
+#  epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps
+#  fixscribeps fixtpps fixwfwps fixwpps fixwwps includeres psbook psmerge
+#  psnup psresize psselect pstops
+
+_files -g '*.(#i)(ps|eps)'
--- Completion/User/_pdf-	Tue Apr 13 16:37:41 1999
+++ Completion/User/_pdf	Wed Aug 11 18:11:16 1999
@@ -1,3 +1,8 @@
-#compdef acroread
+#compdef acroread pdf2dsc pdf2ps pdfimages pdfinfo pdftopbm pdftops pdftotext xpdf
 
-_files -g '*.(pdf|PDF)'
+# ghostscript:
+#  pdf2dsc pdf2ps
+# xpdf:
+#  pdfimages pdfinfo pdftopbm pdftops pdftotext xpdf
+
+_files -g '*.(#i)pdf'
--- /dev/null	Wed Aug 11 18:21:37 1999
+++ Completion/User/_pspdf	Wed Aug 11 18:10:55 1999
@@ -0,0 +1,6 @@
+#compdef gs gsbj gsdj gsdj500 gslj gslp gsnd ps2ascii ghostview gv gview mgv ggv pstoedit pstotgif
+
+# ghostscript:
+#  gs gsbj gsdj gsdj500 gslj gslp gsnd ps2ascii
+
+_files -g '*.(#i)(ps|eps|pdf)'
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author