unposted: _imagemagick: Add *.svg and *.webp files.

As a comment just above the hunk indicates, many more formats could be added.
master
Daniel Shahaf 2 years ago
parent 7996fa561e
commit eb738c793a

@ -1,3 +1,8 @@
2022-08-28 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Unix/Command/_imagemagick: Add *.svg
and *.webp files.
2022-08-05 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* Felipe Contreras: 50435+50436 (+50444):

@ -12,7 +12,7 @@ typeset -A opt_args
#
# and certainly many other things...
formats=(jpg jpeg jp2 j2k jpc jpx jpf tif 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)
formats=(jpg jpeg jp2 j2k jpc jpx jpf tif 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 svg webp)
if (( $# )); then
_files "$@" -g "*.(#i)(${(j:|:)formats})(-.)"

Loading…
Cancel
Save