summaryrefslogtreecommitdiff
path: root/completions/xsltproc
diff options
context:
space:
mode:
Diffstat (limited to 'completions/xsltproc')
-rw-r--r--completions/xsltproc4
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/xsltproc b/completions/xsltproc
index 241de67b..dbe68c45 100644
--- a/completions/xsltproc
+++ b/completions/xsltproc
@@ -16,8 +16,8 @@ _xsltproc()
;;
--encoding)
# some aliases removed
- COMPREPLY=( $(compgen -W "$(iconv -l | command sed -e '/^UTF[1378]/d' \
- -e '/^ISO[0-9_]/d' -e '/^8859/d' -e 's/\/.*//')" -- "$cur") )
+ COMPREPLY=( $(compgen -X '@(UTF[1378]|8859|ISO[0-9_])*' \
+ -W "$(iconv -l | command sed -e 's/\/.*//')" -- "$cur") )
return
;;
--param|--stringparam)