Re: Shell Completion Scripts - Bash and others - CPAN Distribution
gregor herrmann <[email protected]> Sun, 5 Oct 2025 18:55:20 +0200
| Newsgroups | gmane.linux.debian.devel.perl |
|---|---|
| Message-ID | <[email protected]> |
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
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`-
signature.asc
(application/pgp-signature, 963 B)
-----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmjiov5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ qgb2lA/+KvKXfE7KulGeWx7qzK0mtKg/6aasmR+Jx4ZFK4HyazWNNqGFbv/9ELj3 +kx7tHqQs0Vs2L+gL5RJkvTAbs9ZPFxkfZUxgPeU/Mryhee98Nbf7JsQm2zyYzp7 duGIQwOK8O8CCkIZDoGxiwxyOe5Y941MDpxrXRltJP14ggZths6pTKKLsH5Pg5qc MAU7GaG4ovaQAxTflMuytj20iBmgEh3uwNoFzQeCzxAobr323wfXGyYMej9GTcEK VB2P77CY11Liji3Gvdyy2kAUyA0yxv60u38hvr3KiiCiz0L/UDvvG1W1H3jft0G6 robwLQ6aJKf33WPb97Dxqi9I0IVRAqeGPV9fUq5xpl8wGAwrkpq/s4Wc0qxKVgOQ gCDmQwGh+5YlcL/s4rV/8Eb7dSRdcsO/TlglADuNsUB32w+b+P3MnI9SVIIK0GJX 3gr57vQkZpkWGrqTkjIeuOR60hSLaQ030J6ljDno3KprxQJGXtFW92//qt9KXbHd S0XFs4yj+1pLBLLQZe1l5XVj55zZK2DVwBX36pRD2isII6MoiKs3k04vPG9hVROH eOrVsKyOsAkxx+p2/hNSEdRe93TLR8qfJlsfaccWZRCLAsa++lt13IDdV1O6eURE LlvO8LHMKrojR/BTurMlMMCbvQaJfdOXZX8dV2cAbHWUv6RrQAg= =qjdh -----END PGP SIGNATURE-----