summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-01-18 19:08:27 +0200
committerVille Skyttä <ville.skytta@iki.fi>2011-01-18 19:08:27 +0200
commit25df3092630bde800e3d5d743aeac614e5216c10 (patch)
tree79a4772eec0e822168486431557a04f342e26fdd
parent55c38e271c25a2cf36141a40b9f83eba1117c801 (diff)
downloadbash-completion-25df3092630bde800e3d5d743aeac614e5216c10.tar.gz
Add bunch of extensions to xmlwf and xmllint filename completions.
-rw-r--r--CHANGES4
-rw-r--r--completions/xmllint2
-rw-r--r--completions/xmlwf2
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