On Sun, 05 Oct 2025 13:37:04 +0200, Mikko Johannes Koivunalho wrote:
Is there any policy in this area?
I don't think so.
- How to include shell completion scripts in a CPAN distribution?
That's more of a question for the CPAN folks :)
Examples I find locally are:
- rex: puts them in share/
- minilla: under contrib/
- distzilla: under misc/
- Module::Build: under contrib/
- Does the group take any action if there is shell completion scripts
included in a distro?
Yes, if we see a bash or zsh completion script in a CPAN distribution,
we will typically install it. (And it doesn't matter in which
subdirectory they are shipped and how the files are named.)
E.g. for rex the completions end up as
- /usr/share/bash-completion/completions/rex
- /usr/share/zsh/vendor-completions/_rex
Cheers,
gregor