complete -f -X
'!*.@(okular|@(?(e|x)ps|?(E|X)PS|[pf]df|[PF]DF|dvi|DVI|cb[rz7]|CB[RZ7]|djv?(u)|DJV?(U)|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|md?(o)?(w)?(n)|.m?(ark)dt?(e)xt)?(.?(gz|GZ|bz2|BZ2|xz|XZ)))'
okular

seems to do the trick (rz7 included and doubled dvi removed).

```
mkdir /tmp/okulartest/
touch /tmp/okulartest/file.{md,mkd,mdwn,mdown,mdtxt,mdtext,markdown}
```

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

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1910114/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to