Added JPEG 2000 files to display completion, thanks to Bastien Nocera (RHBZ: #304771)

This commit is contained in:
Ville Skyttä 2009-01-10 21:30:12 +02:00
parent 1445d43b49
commit 0647a91951
2 changed files with 3 additions and 1 deletions

View File

@ -98,7 +98,7 @@ complete -f -X '!*.@(Z|gz|tgz|Gz|dz)' gunzip
complete -f -X '!*.*' zcmp zdiff zcat zegrep zfgrep zgrep zless zmore
complete -f -X '!*.Z' uncompress
complete -f -X '!*.@(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)' ee
complete -f -X '!*.@(gif|jp?(e)g|miff|tif?(f)|pn[gm]|p[bgp]m|bmp|xpm|ico|xwd|tga|pcx|svg|GIF|JP?(E)G|MIFF|TIF?(F)|PN[GM]|P[BGP]M|BMP|XPM|ICO|XWD|TGA|PCX|SVG)' display
complete -f -X '!*.@(gif|jp?(e)g|miff|tif?(f)|pn[gm]|p[bgp]m|bmp|xpm|ico|xwd|tga|pcx|svg|jp[2cfx]|j2k|GIF|JP?(E)G|MIFF|TIF?(F)|PN[GM]|P[BGP]M|BMP|XPM|ICO|XWD|TGA|PCX|SVG|JP[2CFX]|J2K)' display
complete -f -X '!*.@(gif|jp?(e)g|tif?(f)|png|p[bgp]m|bmp|x[bp]m|rle|rgb|pcx|fits|pm|GIF|JPG|JP?(E)G|TIF?(F)|PNG|P[BGP]M|BMP|X[BP]M|RLE|RGB|PCX|FITS|PM)' xv qiv
complete -f -X '!*.@(@(?(e)ps|?(E)PS|pdf|PDF)?(.gz|.GZ|.bz2|.BZ2|.Z))' gv ggv kghostview
complete -f -X '!*.@(dvi|DVI)?(.@(gz|Z|bz2))' xdvi

2
debian/changelog vendored
View File

@ -50,6 +50,8 @@ bash-completion (200811xx) UNRELEASED; urgency=low
(prefixed with _ to avoid file conflicts with upstream's one)
* Fixed completion of environment variables, thanks to Morita Sho
(Closes: #272660)
* Added JPEG 2000 files to display completion, thanks to Bastien Nocera
(RHBZ: #304771)
* Merge from Gentoo:
- fix 'find' completion so that it properly completes on -?(i)whilename.
Patch by Ciaran McCreesh.