From 25df3092630bde800e3d5d743aeac614e5216c10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 18 Jan 2011 19:08:27 +0200 Subject: Add bunch of extensions to xmlwf and xmllint filename completions. --- CHANGES | 4 ++-- completions/xmllint | 2 +- completions/xmlwf | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 6062a8df..6d756ed4 100644 --- a/CHANGES +++ b/CHANGES @@ -23,8 +23,8 @@ bash-completion (2.x) mplayer, pack200, povray, python, rpmbuild, sqlite3, tar, wodim, and general help parsing completions. * Fix p4 and povray completions (Alioth: #312625). - * Add *.xsd, *.xsl, *.rng, and *.wsdl to xmllint filename completions, - and *.gz versions of all of the supported ones. + * Add *.xsd, *.xsl, *.rng, *.wsdl, and *.jnlp to xmllint and xmlwf filename + completions, and *.gz versions of all of the supported ones for xmllint. * Recognize rpm query mode based on the --file, --group, --package, and --all long options (RedHat: #630328). * Improve rpm query option completions. diff --git a/completions/xmllint b/completions/xmllint index bed3b42d..5b9c301c 100644 --- a/completions/xmllint +++ b/completions/xmllint @@ -42,7 +42,7 @@ _xmllint() return 0 fi - _filedir '@(*ml|htm|svg|xs[dl]|rng|wsdl)?(.gz)' + _filedir '@(*ml|htm|svg|xs[dl]|rng|wsdl|jnlp)?(.gz)' } && complete -F _xmllint xmllint diff --git a/completions/xmlwf b/completions/xmlwf index 74cf0812..ba02524b 100644 --- a/completions/xmlwf +++ b/completions/xmlwf @@ -26,7 +26,7 @@ _xmlwf() return 0 fi - _filedir '@(*ml|htm|svg)' + _filedir '@(*ml|htm|svg|xs[dl]|rng|wsdl|jnlp)' } && complete -F _xmlwf xmlwf -- cgit v1.2.1