|
|
@ -16,6 +16,28 @@ |
|
|
|
antigen bundle lukechilds/zsh-better-npm-completion |
|
|
|
``` |
|
|
|
|
|
|
|
### 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 |
|
|
|
``` |
|
|
|
|
|
|
|
### Manual Installation |
|
|
|
|
|
|
|
Clone this repo or just download `zsh-better-npm-completion.plugin.zsh` and source it in your `.zshrc`. |
|
|
|