Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#434879: zsh: Incorrect completion after "dvips -Ppdf "
- X-seq: zsh-workers 23715
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: 434879@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#434879: zsh: Incorrect completion after "dvips -Ppdf "
- Date: Sat, 28 Jul 2007 11:56:54 +0200
- In-reply-to: <20070727212541.GA10242@xxxxxxxxxxx>
- Mail-followup-to: 434879@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20070727133050.GA7151@xxxxxxxxxxxxxxxxxxx> <20070727151602.GA1059@xxxxxxxxxxx> <20070727204929.GL6654@xxxxxxxxxxxxxxxxxxx> <20070727212541.GA10242@xxxxxxxxxxx>
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