From 0647a919517c4eb100e54258e5b85fd64efaf2a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 10 Jan 2009 21:30:12 +0200 Subject: [PATCH] Added JPEG 2000 files to display completion, thanks to Bastien Nocera (RHBZ: #304771) --- bash_completion | 2 +- debian/changelog | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bash_completion b/bash_completion index e07bda8c..baebb8c5 100644 --- a/bash_completion +++ b/bash_completion @@ -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 diff --git a/debian/changelog b/debian/changelog index 06c76b05..8df0374e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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.