[Bash-completion-commits] [bash-completion] 01/01: xmllint, xmlwf, xsltproc: Complete on *.dbk and *.docbook (Alioth: #314770)
Ville Skyttä
scop-guest at moszumanska.debian.org
Sat Jul 19 14:16:14 UTC 2014
This is an automated email from the git hooks/post-receive script.
scop-guest pushed a commit to branch master
in repository bash-completion.
commit ab8eeb3a713b1223752336fc4cb0d515c24579cc
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sat Jul 19 17:15:14 2014 +0300
xmllint, xmlwf, xsltproc: Complete on *.dbk and *.docbook (Alioth: #314770)
---
completions/xmllint | 2 +-
completions/xmlwf | 2 +-
completions/xsltproc | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/completions/xmllint b/completions/xmllint
index 928a5b6..312ac05 100644
--- a/completions/xmllint
+++ b/completions/xmllint
@@ -38,7 +38,7 @@ _xmllint()
return 0
fi
- _filedir '@(*ml|htm|svg?(z)|xs[dl]|rng|wsdl|jnlp|tld)?(.gz)'
+ _filedir '@(*ml|htm|svg?(z)|xs[dl]|rng|wsdl|jnlp|tld|dbk|docbook)?(.gz)'
} &&
complete -F _xmllint xmllint
diff --git a/completions/xmlwf b/completions/xmlwf
index 1520613..9abecc6 100644
--- a/completions/xmlwf
+++ b/completions/xmlwf
@@ -25,7 +25,7 @@ _xmlwf()
return 0
fi
- _filedir '@(*ml|htm|svg|xs[dl]|rng|wsdl|jnlp|tld)'
+ _filedir '@(*ml|htm|svg|xs[dl]|rng|wsdl|jnlp|tld|dbk|docbook)'
} &&
complete -F _xmlwf xmlwf
diff --git a/completions/xsltproc b/completions/xsltproc
index 7c38591..30189f3 100644
--- a/completions/xsltproc
+++ b/completions/xsltproc
@@ -41,7 +41,8 @@ _xsltproc()
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
COMPREPLY=( "${COMPREPLY[@]%:}" )
else
- _filedir '@(xsl|xslt|xml)'
+ # TODO: 1st file xsl|xslt, rest XML
+ _filedir '@(xsl|xslt|xml|dbk|docbook)'
fi
} &&
complete -F _xsltproc xsltproc
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git
More information about the Bash-completion-commits
mailing list