Quack Gabriel,

I salvaged python-argcomplete and I'm now looking at loading completions when the package is installed but that does not work as planned. Could you lend me a hand please?

python-argcomplete ships with a script (activate-global-python-argcomplete) which installs completion in /etc/bash_completion.d/python-argcomplete. It works very well but does required a manual step and also leaves a file that users should not modify in /etc. I updated the package to use dh_bash-completion instead: the file is properly installed but completion does not work.

I read on the wiki (https://wiki.debian.org/Teams/BashCompletion/Proposals/Roadmap) that you implemented dynamic load completion and I suspect this is the problem here (I could not read the details though as the link is broken). If bash-completion expects the config to be named after a command then it will not work as python-argcomplete needs to be enabled for every python command. Do I understand it well? Any idea how I could do this integration?

Regards.
\_o<

--
Marc Dequènes

Reply via email to