The following commit has been merged in the master branch:
commit 217735d807e1809d8dd4eae2f6aeb3810676d513
Author: Ville Skyttä <[email protected]>
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

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to