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

Re: Bug#434879: zsh: Incorrect completion after "dvips -Ppdf "



On Fri, Jul 27, 2007 at 10:49:29PM +0200, Vincent Lefevre wrote:
> I don't understand your question. If you mean grouping options in a
> single argument, this doesn't seem to be possible. But dvips behaves
> strangely:

In that case,

Index: Completion/Unix/Command/_dvi
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_dvi,v
retrieving revision 1.4
diff -u -r1.4 _dvi
--- Completion/Unix/Command/_dvi	28 Jul 2007 07:03:47 -0000	1.4
+++ Completion/Unix/Command/_dvi	29 Jul 2007 11:25:03 -0000
@@ -11,7 +11,7 @@
 
 case "$service" in
 dvips)
-  _arguments -s \
+  _arguments \
     '-a[make three passes]' \
     '(-B)-A[print only odd numbered pages]' \
     '(-A)-B[print only even numbered pages]' \



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