You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Luke Childs 3be31028ee Add better installation instructions 9 years ago
README.md Add better installation instructions 9 years ago
demo.gif Update demo gif with new features 9 years ago
zsh-better-npm-completion.plugin.zsh Add install completion to 'npm i' too 9 years ago

README.md

zsh-better-npm-completion

Better completion for npm

  • Makes npm install recommendations from npm cache
  • Shows detailed information on script contents for npm run
  • Falls back to default npm completions if we don't have anything better

Installation

Using Antigen

Bundle zsh-better-npm-completion in your .zshrc

antigen bundle lukechilds/zsh-better-npm-completion

Using zplug

Load zsh-better-npm-completion as a plugin in your .zshrc

zplug "lukechilds/zsh-better-npm-completion"

Using zgen

Include the load command in your .zshrc

zgen load lukechilds/zsh-better-npm-completion

As an Oh My ZSH! custom plugin

Clone 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 git@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.sh

License

MIT © Luke Childs