bash-completion doesn't expand all possible okular filetypes

Bug #1910114 reported by emk2203
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash-completion (Ubuntu)
New
Undecided
Unassigned

Bug Description

Since 2019, `okular` has gained the capability to open 7-zip compressed comic book archives with the extension of .cb7 | .CB7 .

`bash-completion` is not keeping track.

Proposal: Change the okular install_xspec line in `/usr/share/bash-completion/bash_completion` to

_install_xspec '!*.@(okular|@(?(e|x)ps|?(E|X)PS|[pf]df|[PF]DF|dvi|DVI|cb[rz7]|CB[RZ7]|djv?(u)|DJV?(U)|dvi|DVI|gif|jp?(e)g|miff|tif?(f)|pn[gm]|p[bgp]m|bmp|xpm|ico|xwd|tga|pcx|GIF|JP?(E)G|MIFF|TIF?(F)|PN[GM]|P[BGP]M|BMP|XPM|ICO|XWD|TGA|PCX|epub|EPUB|odt|ODT|fb?(2)|FB?(2)|mobi|MOBI|g3|G3|chm|CHM)?(.?(gz|GZ|bz2|BZ2|xz|XZ)))' okular

changing essentially from ...cb[rz]|CB[rz]... to ...cb[rz7]|CB[RZ7]... .

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.