Open m-roberts opened 3 years ago
Include bash-completion
in Build-Depends.
Use dh $@ --with bash-completion
in debian/rules
.
Use configuration file at debian/package.bash-completion
.
https://www.debian.org/doc/manuals/maint-guide/dreq.en.html#rules
See how pdm does this: https://pdm.fming.dev/#shell-completion We can combine this with some way to automatically add these lines to the OS.
shtab seems useful. This should be installed via
setup.py
, not via Debian package (unless this doesn't copy over to Debian package)extras/pitop.bash-completion
shtab
to test if completions are up-to-date