Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: _ps, _pdf and _pspdf.
- X-seq: zsh-workers 7429
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: _ps, _pdf and _pspdf.
- Date: Fri, 13 Aug 1999 10:40:41 +0200 (MET DST)
- In-reply-to: Tanaka Akira's message of 13 Aug 1999 09:35:55 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Tanaka Akira wrote:
> I found small problems in _pbm and _colors.
Thanks for the fixes.
I forgot to handle all those *p[bgpn]m commands.
Some day I'd like to enhance _complete_opts (isn't there a better
name?) to be able to handle the stuff for _pbm, too. Maybe even by
giving only some kind of command line description, so that it can
automatically display descriptions of what is expected at a certain
position.
Bye
Sven
diff -u -r oc/User/_pbm Completion/User/_pbm
--- oc/User/_pbm Fri Aug 13 09:21:01 1999
+++ Completion/User/_pbm Fri Aug 13 09:39:23 1999
@@ -1,4 +1,4 @@
-#compdef -p p[bgpn]m*
+#compdef -p (p[bgpn]m*|*top[bgpn]m)
local pat opts ret=1
@@ -51,6 +51,15 @@
pnmtosgi 'imagename'
pnmtotiff 'predictor rowsperstrip'
pnmtoxwd 'pseudodepth'
+ asciitopgm 'd'
+ fitstopgm 'image'
+ fitstopnm 'image min max'
+ giftopnm 'image'
+ macptopbm 'extraskip'
+ pstopnm 'llx lly urx ury xborder xmax xsize yborder ymax ysize'
+ rawtopgm 'headerskip rowskip'
+ rawtoppm 'headerskip rowskip'
+ sldtoppm 'height ysize lib Lib scale width xsize'
)
# Options without arguments.
@@ -99,6 +108,17 @@
pnmtosgi 'verbatim rle'
pnmtotiff 'none packbits lzw g3 g4 2d fill msb2lsb lsb2msb'
pnmtoxwd 'directcolor'
+ fitstopnm 'noraw scanmax printmax'
+ g3topbm 'kludge reversebits stretch'
+ giftopnm 'verbose comments'
+ picttoppm 'verbose'
+ pstopnm 'forceplain help landscape portrait nocrop pbm pgm ppm verbose'
+ rawtoppm 'rgb rbg grb gbr brg bgr interpixel interrow'
+ sgitopnm 'verbose'
+ sldtoppm 'adjust dir info verbose'
+ tgatoppm 'debug'
+ tifftopnm 'headerdump'
+ zeisstopnm 'pgm ppm'
)
fi
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author