Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _a2ps completion
- X-seq: zsh-workers 9333
 
- From: Clint Adams <schizo@xxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxxxxxx
 
- Subject: PATCH: _a2ps completion
 
- Date: Mon, 17 Jan 2000 10:28:38 -0500
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
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