I have a small debian package that includes a bash completion file which is copied in the /etc/bash_completion.d folder.
After installation, the bash completion file is not "loaded". I have to type in the terminal:
source /etc/bash_completion.d/mycompletionfile
I would like to avoid this with the postinst script. How should I do that?
Thank you
dh_bash-completionfor installation?dh $@ --with bash-completionin the rules file, but I'm not sure as I never used it, just saw that this debhelper exists. It might also just copy the file, and you are where you started.