Zsh completion plugin that provides live remote CPAN package name autocompletion for cpan and cpanm commands.
zsh-cpan-completion is a Zsh plugin that enables intelligent tab completion for CPAN package names directly from the remote Perl module registry. It eliminates the need for static package lists by querying the live CPAN network in real-time, making Perl module installation workflows faster and more accurate.
perl -MCPAN -e 'CPAN::Shell->m("...")' to fetch real package namescpan and cpanm commands, including flag/option completionZPWR_CPAN_MIN_PREFIX) prevents excessive network requests.tar.gz, .tgz, .tar.bz2, .zip)The plugin integrates with Zsh's completion system through _cpan and _cpanm compdefs, which trigger remote queries to CPAN::Shell when appropriate. Results are then passed to Zsh's _describe completion UI for display.
The project embraces a "live data" philosophy, preferring dynamic network queries over static lists to ensure completions are always current with the CPAN ecosystem.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.