Add bunch of extensions to xmlwf and xmllint filename completions.
This commit is contained in:
parent
55c38e271c
commit
25df309263
4
CHANGES
4
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.
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user