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.

48 lines
895 B

# zsh-better-npm-completion
9 years ago
9 years ago
> Better completion for `npm`
9 years ago
<img src="demo.gif" width="690">
9 years ago
* 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
9 years ago
## Install
### Antigen
```shell
antigen bundle lukechilds/zsh-better-npm-completion
9 years ago
```
### oh-my-zsh
#### Install
```shell
git clone https://github.com/lukechilds/zsh-better-npm-completion ~/.oh-my-zsh/custom/plugins/zsh-better-npm-completion
```
#### Activate
in `.zshrc`:
```shell
plugins+=(zsh-better-npm-completion)
```
You may also need to activate completions if they aren't already on:
```shell
autoload -U compinit && compinit
```
9 years ago
### Manual Installation
Clone this repo or just download `zsh-better-npm-completion.plugin.zsh` and source it in your `.zshrc`.
9 years ago
## License
MIT © Luke Childs