xca/misc/xca.completion
Christian Hohnstaedt f7e144ba98 Bash completion: include files in the completion list
Put matching files and directories into the completion list,
not only the valid arguments.
2021-05-07 21:31:10 +02:00

7 lines
152 B
Plaintext

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