zsh-better-npm-completion
Better completion for
npm
- Makes
npm install
recommendations from npm cache - Makes
npm uninstall
recommendations fromdependencies
/devDependencies
- Shows detailed information on script contents for
npm run
- Falls back to default npm completions if we don't have anything better
Installation
Antigen
UsingBundle zsh-better-npm-completion
in your .zshrc
antigen bundle lukechilds/zsh-better-npm-completion
zplug
UsingLoad zsh-better-npm-completion
as a plugin in your .zshrc
zplug "lukechilds/zsh-better-npm-completion", defer:2
zgen
UsingInclude the load command in your .zshrc
zgen load lukechilds/zsh-better-npm-completion
Oh My ZSH! custom plugin
As anClone zsh-better-npm-completion
into your custom plugins repo
git clone https://github.com/lukechilds/zsh-better-npm-completion ~/.oh-my-zsh/custom/plugins/zsh-better-npm-completion
Then load as a plugin in your .zshrc
plugins+=(zsh-better-npm-completion)
Manually
Clone this repository somewhere (~/.zsh-better-npm-completion
for example)
git clone https://github.com/lukechilds/zsh-better-npm-completion.git ~/.zsh-better-npm-completion
Then source it in your .zshrc
source ~/.zsh-better-npm-completion/zsh-better-npm-completion.plugin.zsh
Related
zsh-nvm
- Zsh plugin for installing, updating and loadingnvm
gifgen
- Simple high quality GIF encoding
License
MIT © Luke Childs