Hi,
I would like to use functions such as _filedir
from the bash-completion
package in the completer function. I have added bash-completion
to the stage-packages
but it seems that the functions are not available in the snap’s environment. In my completer script I am calling
_filedir
And end up with this error from snap run --command=complete
/etc/bash_completion.d/000_bash_completion_compat.bash: line 297: _comp_compgen: command not found
Is it possible to use such functions?
Thanks!