02 Aug 2017 12:20:10 UTC
- Distribution: App-cpanm-shcompgen
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (503 / 0 / 0)
- KwaliteeBus factor: 1
- % Coverage
- License: perl_5
- Activity24 month
- Download (13.65KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionPERLANCAR perlancar
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
cpanmin 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.
Module Install Instructions
To install App::cpanm::shcompgen, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install App::cpanm::shcompgen
For more information on module installation, please visit the detailed CPAN module installation guide.