Add bunch of extensions to xmlwf and xmllint filename completions.

This commit is contained in:
Ville Skyttä 2011-01-18 19:08:27 +02:00
parent 55c38e271c
commit 25df309263
3 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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

View File

@ -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