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 23720
- From: Clint Adams <clint@xxxxxxx>
- To: 434879@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#434879: zsh: Incorrect completion after "dvips -Ppdf "
- Date: Sun, 29 Jul 2007 10:42:23 -0400
- In-reply-to: <20070728095654.GP6654@xxxxxxxxxxxxxxxxxxx>
- 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> <20070728095654.GP6654@xxxxxxxxxxxxxxxxxxx>
On Sat, Jul 28, 2007 at 11:56:54AM +0200, Vincent Lefevre wrote:
> 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).
Er, and
Index: Completion/Unix/Command/_dvi
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_dvi,v
retrieving revision 1.5
diff -u -r1.5 _dvi
--- Completion/Unix/Command/_dvi 29 Jul 2007 11:39:43 -0000 1.5
+++ Completion/Unix/Command/_dvi 29 Jul 2007 14:41:23 -0000
@@ -39,7 +39,7 @@
'-O[specify offset of origin]:offset of origin (<x>,<y>)' \
'(-p -l -n)-pp[specify which pages to print]:list of pages or ranges to print:' \
'(-pp)-p[specify first page to print]:number of first page' \
- '-P[specify printer]:printer name' \
+ '-P+[specify printer]:printer name' \
'-q[quiet operation]' \
'-r[reverse order of pages]' \
'-R[run securely]' \
Messages sorted by:
Reverse Date,
Date,
Thread,
Author