Feedback

type to search

Is there a debhelper way to install bash completion scripts?

Asked by [ Editor ]

I’m looking for something similar to <package>.manpages or <package>.docs files within /debian folder to declare bash completion script to install. Looking at some packages (dput, mercurial-common), it appears rules files is used to install it.
I was thinking using <package>.install.
Is there a recommended way to do so?

or Cancel

1 answer

5

d.paleino [ Editor ]

You can use dhbash-completion (from the bash-completion package), or —with bashcompletion if you’re using dh7.


Read “man dh_bash-completion” for more details ;)

David
bash-completion maintainer
NN comments
kaliko
-

How come did I miss it! Thanks and sorry for the noise ;) Cheers

d.paleino
-
you’re welcome :) — this is what this site is for ;)

or Cancel

Your answer

You need to join Debian to complete this action, click here to do so.