[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 217735d807e1809d8dd4eae2f6aeb3810676d513

Ville Skyttä ville.skytta at iki.fi
Fri Sep 3 17:23:42 UTC 2010


The following commit has been merged in the master branch:
commit 217735d807e1809d8dd4eae2f6aeb3810676d513
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Sep 3 20:23:35 2010 +0300

    Add *.xsd, *.xsl, *.rng, and *.wsdl to xmllint filename completions.

diff --git a/CHANGES b/CHANGES
index 7eada89..48a9813 100644
--- a/CHANGES
+++ b/CHANGES
@@ -14,6 +14,7 @@ bash-completion (2.x)
   * Add "short" tarball extensions to unxz, unlzma etc completions.
   * Improve /etc/init.d/* and sqlite3 completions.
   * Fix p4 completion (Alioth: #312625).
+  * Add *.xsd, *.xsl, *.rng, and *.wsdl to xmllint filename completions.
 
   [ Freddy Vulto ]
   * Added _tilde(), fix ~username completion (Alioth: #312613, Debian: #587095)
diff --git a/contrib/xmllint b/contrib/xmllint
index 82feb4a..d8b5051 100644
--- a/contrib/xmllint
+++ b/contrib/xmllint
@@ -42,7 +42,7 @@ _xmllint()
         return 0
     fi
 
-    _filedir '@(*ml|htm|svg)'
+    _filedir '@(*ml|htm|svg|xs[dl]|rng|wsdl)'
 } &&
 complete -F _xmllint -o filenames xmllint
 

-- 
bash-completion



More information about the Bash-completion-commits mailing list