Browse Source

Rename to better npm completion

pull/2/head
Luke Childs 8 years ago
parent
commit
93494a1445
  1. 6
      README.md
  2. 4
      zsh-better-npm-completion.plugin.zsh

6
README.md

@ -1,4 +1,4 @@
# zsh-npm-run-completion # zsh-better-npm-completion
> Better completion for `npm run` > Better completion for `npm run`
@ -13,12 +13,12 @@
### Antigen ### Antigen
```shell ```shell
antigen bundle lukechilds/zsh-npm-run-completion antigen bundle lukechilds/zsh-better-npm-completion
``` ```
### Manual Installation ### Manual Installation
Clone this repo or just download `zsh-npm-run-completion.plugin.zsh` and source it in your `.zshrc`. Clone this repo or just download `zsh-better-npm-completion.plugin.zsh` and source it in your `.zshrc`.
## License ## License

4
zsh-npm-run-completion.plugin.zsh → zsh-better-npm-completion.plugin.zsh

@ -1,4 +1,4 @@
_npm_run_completion() { _zsh_better_npm_completion() {
# If we're on the run command # If we're on the run command
if [ "${words[2]}" = "run" ]; then if [ "${words[2]}" = "run" ]; then
@ -32,4 +32,4 @@ _npm_run_completion() {
IFS=$si IFS=$si
} }
compdef _npm_run_completion npm compdef _zsh_better_npm_completion npm
Loading…
Cancel
Save