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

PATCH: _a2ps completion



I have been informed that a2ps can be just as useful on PostScript
files as any other file, and that *.(#i)(ps|eps) should not be
excluded from completion.  Perhaps a context-based switch would
be more appropriate.

Index: Completion/User/_a2ps
===================================================================
RCS file: /cvs/zsh/zsh/Completion/User/_a2ps,v
retrieving revision 1.1.1.8
diff -u -r1.1.1.8 _a2ps
--- Completion/User/_a2ps	2000/01/07 14:42:44	1.1.1.8
+++ Completion/User/_a2ps	2000/01/17 15:16:11
@@ -22,7 +22,7 @@
   )
 fi
 
-_arguments '*:text file:_files -g \*\~\*.\(\#i\)\(ps\|eps\)' -- \
+_arguments '*:input file:_files' -- \
            '*\*:toggle:(yes no)' \
            '*=DIRECTION:direction:(rows columns)' \
            '*=TYPE:type:(r n nr rn any)' \



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