xca/misc/xca.completion
Christian Hohnstaedt 9c49c9949f Consolidate and document used environment variables
Rename XCA_SPECIAL to XCA_ARGUMENTS, which is less generic.

and change %1_OPTIONS to XCA_%1_OPTIONS to prefix all
XCA related environment variables with "XCA_".
2021-06-01 17:48:37 +02:00

7 lines
154 B
Plaintext

_XCA_WORDS="$(XCA_ARGUMENTS=completion xca)"
_xca() {
COMPREPLY=($(compgen -f -W "$_XCA_WORDS" -- "${COMP_WORDS[COMP_CWORD]}"))
}
complete -F _xca xca