[Bug 1910114] [NEW] bash-completion doesn't expand all possible okular filetypes

emk2203 1910114 at bugs.launchpad.net
Mon Jan 4 16:17:53 UTC 2021


Public bug reported:

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]... .

** Affects: bash-completion (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/1910114

Title:
  bash-completion doesn't expand all possible okular filetypes

Status in bash-completion package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1910114/+subscriptions



More information about the foundations-bugs mailing list