Skip to content

Commit

Permalink
feat(eog): add missing extension .heif
Browse files Browse the repository at this point in the history
The support for .heic has been added in Ref. [1], but the gdk pixbuf
loader, which supports .heic, explicitly supports also .heif and .avif
[2].  The extension .avif is already included in the list, but .heif
is currently missing.  This patch adds the extension .heif.

[1] #1010
[2]
https://github.com/strukturag/libheif/blob/4a2f42f01e475258e67371db99108636d32f561c/gdk-pixbuf/pixbufloader-heif.c#L224-L229
  • Loading branch information
akinomyoga committed Aug 1, 2023
1 parent 4d0bffb commit ea9c261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/eog
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ _comp_cmd_eog()
return
fi

_comp_compgen_filedir '@(ani|avif|?(w)bmp|gif|heic|ico|j2[ck]|jp[cefgx2]|jpeg|jpg2|jxl|pcx|p[bgp]m|pn[gm]|ras|svg?(z)|tga|tif?(f)|webp|x[bp]m)'
_comp_compgen_filedir '@(ani|avif|?(w)bmp|gif|hei[cf]|ico|j2[ck]|jp[cefgx2]|jpeg|jpg2|jxl|pcx|p[bgp]m|pn[gm]|ras|svg?(z)|tga|tif?(f)|webp|x[bp]m)'
} &&
complete -F _comp_cmd_eog eog

Expand Down

0 comments on commit ea9c261

Please sign in to comment.