NAME
cpanm-shcompgen - Install modules from CPAN (and activate shell completion)
VERSION
This document describes version 0.002 of cpanm-shcompgen (from Perl distribution App-cpanm-shcompgen), released on 2017-08-02.
SYNOPSIS
Use like you would use cpanm:
% cpanm-shcompgen -n Some::Module ...
To alias it as cpanm
in your shell, e.g. in bash:
alias cpanm=cpanm-shcompgen
DESCRIPTION
cpanm-shcompgen is a simple wrapper over cpanm. This command:
% 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.
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/App-cpanm-shcompgen.
SOURCE
Source repository is at https://github.com/perlancar/perl-App-cpanm-shcompgen.
BUGS
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.
SEE ALSO
App::cpanminus::script::Patch::RunShcompgen
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.