npm-run.plugin.zsh

1.0.0 • Public • Published

npm-run.plugin.zsh

Autocompletion support for npm run.

Installation

Install with npm or manually.

Via npm

$ npm install -g npm-run.plugin.zsh

After that you have to restart your zsh.

Manually

  1. Clone this repository to your favorite path (e.g. ~/zsh-extensions/npm-run.plugin.zsh)
  2. source the file in your .zshrc
  3. Restart your zsh
# Your .zshrc 
source $HOME/zsh-extensions/npm-run.plugin.zsh/npm-run.plugin.zsh

Via antigen

$ antigen bundle akoenig/npm-run.plugin.zsh

Usage

Switch to your project (a.k.a. the place where the package.json lives):

$ npm run <TAB>

Exemplary output:

λ myproject → git master* → npm run
build    watch    dev

Author

Copyright 2015, André König (andre.koenig@posteo.de)

Package Sidebar

Install

npm i npm-run.plugin.zsh

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • akoenig