NAME
Bash::Completion::Plugins::cpanm - Bash completion for cpanm and cpanf
VERSION
version 0.0.2
SYNOPSIS
$ cpanm MooseX::
Display all 121 possibilities? (y or n)
ABC Declare Object::
APIRole DeepAccessors OneArgNew
AbstractFactory Documenter POE
Accessors:: Emulate:: Param
Aliases Error:: Params::
Alien FSM Plaggerize
AlwaysCoerce FileAttribute Policy::
App:: File_or_DB:: Privacy
Async FollowPBP PrivateSetters
Atom Getopt Q4MLog
Attribute:: Getopt:: RelatedClassRoles
AttributeCloner GlobRef Role::
AttributeDefaults Has:: Runnable
AttributeHelpers HasDefaults Runnable::
AttributeIndexes IOC Scaffold
AttributeInflate InsideOut SemiAffordanceAccessor
...
DESCRIPTION
Bash::Completion profile for cpanm
, cpanf
and cpan
.
Simply add this line to your .bashrc
or .bash_profile
file:
source setup-bash-complete
or run it manually in a bash session.
METHODS
complete
Queries http://api.metacpan.org
for distributions that match the given name. Limits the number of results to 1000. Some namespaces might not appear if there are more than 1000 results for a given query.
AUTHOR
Moritz Onken
COPYRIGHT AND LICENSE
This software is Copyright (c) 2011 by Moritz Onken.
This is free software, licensed under:
The (three-clause) BSD License