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

As a comment just above the hunk indicates, many more formats could be added.
This commit is contained in:
Daniel Shahaf 2022-08-28 16:45:48 +00:00
parent 7996fa561e
commit eb738c793a
2 changed files with 6 additions and 1 deletions

View File

@ -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):

View File

@ -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})(-.)"