diff --git a/CHANGES b/CHANGES index e650f5ee..db83c4b8 100644 --- a/CHANGES +++ b/CHANGES @@ -373,7 +373,7 @@ bash-completion (1.2) * Speed up installed rpm package completion on SUSE, based on work by Marco Poletti (Alioth: #312021). * Improve sourcing snippets from completion dirs. - * Drop support for bash < 3. The compatiblity global variables $bashN, + * Drop support for bash < 3. The compatibility global variables $bashN, $default, $dirnames, $filenames, $compopt, $nospace, $bashdefault, and $plusdirs have been dropped too. 3rd party completions should switch to using the complete/compgen features directly, and BASH_VERSINFO diff --git a/bash_completion b/bash_completion index 69f43302..56c47369 100644 --- a/bash_completion +++ b/bash_completion @@ -1857,7 +1857,7 @@ _install_xspec '!*.@(tlz|lzma)' lzcat lzegrep lzfgrep lzgrep lzless lzmore unlzm _install_xspec '!*.@(?(t)xz|tlz|lzma)' unxz xzcat _install_xspec '!*.lrz' lrunzip _install_xspec '!*.@(gif|jp?(e)g|miff|tif?(f)|pn[gm]|p[bgp]m|bmp|xpm|ico|xwd|tga|pcx)' ee -_install_xspec '!*.@(gif|jp?(e)g|tif?(f)|png|p[bgp]m|bmp|x[bp]m|rle|rgb|pcx|fits|pm)' qiv +_install_xspec '!*.@(gif|jp?(e)g|tif?(f)|png|p[bgp]m|bmp|x[bp]m|rle|rgb|pcx|fits|pm|svg)' qiv _install_xspec '!*.@(gif|jp?(e)g|tif?(f)|png|p[bgp]m|bmp|x[bp]m|rle|rgb|pcx|fits|pm|?(e)ps)' xv _install_xspec '!*.@(@(?(e)ps|?(E)PS|pdf|PDF)?(.gz|.GZ|.bz2|.BZ2|.Z))' gv ggv kghostview _install_xspec '!*.@(dvi|DVI)?(.@(gz|Z|bz2))' xdvi kdvi diff --git a/completions/xmllint b/completions/xmllint index c29c52d8..928a5b67 100644 --- a/completions/xmllint +++ b/completions/xmllint @@ -38,7 +38,7 @@ _xmllint() return 0 fi - _filedir '@(*ml|htm|svg|xs[dl]|rng|wsdl|jnlp|tld)?(.gz)' + _filedir '@(*ml|htm|svg?(z)|xs[dl]|rng|wsdl|jnlp|tld)?(.gz)' } && complete -F _xmllint xmllint