Skip to content

MenkeTechnologies/zsh-cpan-completion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zsh-cpan-completion

zsh-cpan-completion screenshot

This plugin has all functionality of OMZ cpanm completion but it also allows cpan install word<tab> and cpanm install <tab> to complete remote CPAN package from output of perl -MCPAN -e 'CPAN::Shell->m("/$package/")'. The word before tab completion must be >= 2 characters in length to reduce crashing of zsh from too many packages. ZPWR_CPAN_MIN_PREFIX controls the min length of prefix.

Install for Zinit

~/.zshrc

source "$HOME/.zinit/bin/zinit.zsh"
zinit ice lucid nocompile
zinit load MenkeTechnologies/zsh-cpan-completion

Install for Oh My Zsh

cd "$HOME/.oh-my-zsh/custom/plugins"  && git clone https://github.com/MenkeTechnologies/zsh-cpan-completion.git

Add zsh-cpan-completion to plugins array in ~/.zshrc

General Install

git clone https://github.com/MenkeTechnologies/zsh-cpan-completion.git

source zsh-cpan-completion.plugin.zsh or add code to zshrc or any startup script

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages