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

PATCH: _gs handle PDF as well as PS



ghostscript can handle PDF as well as PS.

Index: Completion/User/_gs
===================================================================
RCS file: /projects/zsh/zsh/Completion/User/_gs,v
retrieving revision 1.1.1.6
diff -u -r1.1.1.6 _gs
--- Completion/User/_gs	1999/11/15 12:01:49	1.1.1.6
+++ Completion/User/_gs	1999/11/26 01:55:28
@@ -2,7 +2,7 @@
 
 if compset -N --; then
   if [[ CURRENT -eq 1 ]]; then
-    _ps
+    _pspdf
   else
     _message 'userdict ARGUMENTS'
     return 1
@@ -18,7 +18,7 @@
     '-I[add search paths]:search paths:_dir_list' \
     \*-{d,D}'-[define name with definition]:def:->dname' \
     \*-{s,S}'-[define name with value]:def:->sname' \
-    '*:PostScript file:_ps' && ret=0
+    '*:PostScript or PDF file:_pspdf' && ret=0
 
   case "$state" in
   dname)
-- 
Tanaka Akira



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