summaryrefslogtreecommitdiff
path: root/completions/xmlwf
diff options
context:
space:
mode:
Diffstat (limited to 'completions/xmlwf')
-rw-r--r--completions/xmlwf12
1 files changed, 6 insertions, 6 deletions
diff --git a/completions/xmlwf b/completions/xmlwf
index 15206134..dd7a5457 100644
--- a/completions/xmlwf
+++ b/completions/xmlwf
@@ -8,25 +8,25 @@ _xmlwf()
case $prev in
-d)
_filedir -d
- return 0
+ return
;;
-e)
COMPREPLY=( $( compgen -W 'US-ASCII UTF-8 UTF-16 ISO-8859-1' \
-- "$cur" ) )
- return 0
+ return
;;
-v)
- return 0
+ return
;;
esac
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) )
- return 0
+ return
fi
- _filedir '@(*ml|htm|svg|xs[dl]|rng|wsdl|jnlp|tld)'
+ _filedir '@(*ml|htm|svg|xs[dl]|rng|wsdl|jnlp|tld|dbk|docbook|page)'
} &&
complete -F _xmlwf xmlwf
-# ex: ts=4 sw=4 et filetype=sh
+# ex: filetype=sh