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.

895 B

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

Install

Antigen

antigen bundle lukechilds/zsh-better-npm-completion

oh-my-zsh

Install

git clone https://github.com/lukechilds/zsh-better-npm-completion ~/.oh-my-zsh/custom/plugins/zsh-better-npm-completion

Activate

in .zshrc:

plugins+=(zsh-better-npm-completion)

You may also need to activate completions if they aren't already on:

autoload -U compinit && compinit

Manual Installation

Clone this repo or just download zsh-better-npm-completion.plugin.zsh and source it in your .zshrc.

License

MIT © Luke Childs