zsh-better-pnpm-completion
Better completion for
pnpm
This plugin is a fork of zsh-better-npm-completion. It works the same way, as you can see with npm
demo:
- Makes
pnpm install
recommendations from pnpm cache - Makes
pnpm uninstall
recommendations fromdependencies
/devDependencies
- Shows detailed information on script contents for
pnpm run
- Falls back to default pnpm completions if we don't have anything better
Installation
Antigen
UsingBundle zsh-better-pnpm-completion
in your .zshrc
antigen bundle akccakcctw/zsh-better-pnpm-completion
zplug
UsingLoad zsh-better-pnpm-completion
as a plugin in your .zshrc
zplug "akccakcctw/zsh-better-pnpm-completion", defer:2
zgen
UsingInclude the load command in your .zshrc
zgen load akccakcctw/zsh-better-pnpm-completion
Oh My ZSH! custom plugin
As anClone zsh-better-pnpm-completion
into your custom plugins repo
git clone https://github.com/akccakcctw/zsh-better-pnpm-completion ~/.oh-my-zsh/custom/plugins/zsh-better-pnpm-completion
Then load as a plugin in your .zshrc
plugins+=(zsh-better-pnpm-completion)
Manually
Clone this repository somewhere (~/.zsh-better-pnpm-completion
for example)
git clone https://github.com/akccakcctw/zsh-better-pnpm-completion.git ~/.zsh-better-pnpm-completion
Then source it in your .zshrc
source ~/.zsh-better-pnpm-completion/zsh-better-pnpm-completion.plugin.zsh
License
MIT © RexTsou