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

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



On 2007-07-27 17:25:41 -0400, Clint Adams wrote:
> 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:
> 
> Try changing "_arguments -s" to "arguments -s -w".  That might do the
> right thing, though I'm still not clear on how dvips parses the command
> line.

I've tried "_arguments -s -w", but this is even worse.

Both "dvips -P[Tab]" and "dvips -P [Tab]" should complete on the
printer names, but "dvips -Pfoo" and "dvips -P foo" should complete
on the dvi files (or another option).

"dvips -j[Tab]" should add a space, because the -j option doesn't
take any data.

"dvips -j [Tab]" should complete on the dvi files (or another option).

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



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