cpanm-shcompgen - Install modules from CPAN (and activate shell completion)
This document describes version 0.002 of cpanm-shcompgen (from Perl distribution App-cpanm-shcompgen), released on 2017-08-02.
Use like you would use cpanm:
% cpanm-shcompgen -n Some::Module ...
To alias it as
cpanm in your shell, e.g. in bash:
% cpanm-shcompgen -n App::PMUtils
is equivalent to:
% perl -MModule::Load::In::INIT=App::cpanminus::script::Patch::RunShcompgen cpanm -n App::PMUtils
That is, it will cause cpanm to execute shcompgen (
shcompgen generate --replace ...) for all the installed scripts in the distribution. This means, shell tab completion will be activated immediately after installation.
Please visit the project's homepage at https://metacpan.org/release/App-cpanm-shcompgen.
Source repository is at https://github.com/perlancar/perl-App-cpanm-shcompgen.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-cpanm-shcompgen
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
This software is copyright (c) 2017 by email@example.com.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.