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

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



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