[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 25df3092630bde800e3d5d743aeac614e5216c10
Ville Skyttä
ville.skytta at iki.fi
Tue Jan 18 17:09:04 UTC 2011
The following commit has been merged in the master branch:
commit 25df3092630bde800e3d5d743aeac614e5216c10
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Tue Jan 18 19:08:27 2011 +0200
Add bunch of extensions to xmlwf and xmllint filename completions.
diff --git a/CHANGES b/CHANGES
index 6062a8d..6d756ed 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 bed3b42..5b9c301 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 74cf081..ba02524 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
--
bash-completion
More information about the Bash-completion-commits
mailing list