mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-05-20 06:56:05 +02:00
c.f. 31531: complete xcf files for image manipulation packages
This commit is contained in:
parent
cda21a28e6
commit
9a192dddd2
|
@ -1,3 +1,8 @@
|
|||
2013-07-19 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* c.f. 31531: Completion/Unix/Command/_imagemagick,
|
||||
Completion/Unix/Command/_graphicsmagick: complete .xcf files.
|
||||
|
||||
2013-07-19 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 31536 (plus memory leak fixed, plus test code):
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
local state line expl formats curcontext="$curcontext"
|
||||
typeset -A opt_args
|
||||
|
||||
formats=jpg:jpeg:tiff:miff:ras:bmp:cgm:dcx:ps:eps:fig:fits:fpx:gif:mpeg:pbm:pgm:ppm:pcd:pcl:pdf:pcx:png:rad:rgb:rgba:rle:sgi:html:shtml:tga:ttf:uil:xwd:xbm:xpm:yuv
|
||||
formats=jpg:jpeg:tiff:miff:ras:bmp:cgm:dcx:ps:eps:fig:fits:fpx:gif:mpeg:pbm:pgm:ppm:pcd:pcl:pdf:pcx:png:rad:rgb:rgba:rle:sgi:html:shtml:tga:ttf:uil:xcf:xwd:xbm:xpm:yuv
|
||||
|
||||
if (( $# )); then
|
||||
_files "$@" -g "*.(#i)(${~formats//:/|})(-.)"
|
||||
|
|
|
@ -11,7 +11,7 @@ typeset -A opt_args
|
|||
#
|
||||
# and certainly many other things...
|
||||
|
||||
formats=jpg:jpeg:tiff:miff:ras:bmp:cgm:dcx:ps:eps:fig:fits:fpx:gif:mpeg:pbm:pgm:ppm:pcd:pcl:pdf:pcx:png:rad:rgb:rgba:rle:sgi:html:shtml:tga:ttf:uil:xwd:xbm:xpm:yuv
|
||||
formats=jpg:jpeg:tiff:miff:ras:bmp:cgm:dcx:ps:eps:fig:fits:fpx:gif:mpeg:pbm:pgm:ppm:pcd:pcl:pdf:pcx:png:rad:rgb:rgba:rle:sgi:html:shtml:tga:ttf:uil:xcf:xwd:xbm:xpm:yuv
|
||||
|
||||
if (( $# )); then
|
||||
_files "$@" -g "*.(#i)(${~formats//:/|})(-.)"
|
||||
|
|
Loading…
Reference in New Issue