zsh-node-path

September 11, 2019 ยท View on GitHub

ZSH plugin for automatically adding the "npm bin" of your current directory to your path.

Installation

Add the lines below for your zsh package manager of choice.

Note: Make sure any nvm plugins preceed this in your .zshrc

Antigen

antigen bundle andyrichardson/zsh-node-path

Zplug

zplug "andyrichardson/zsh-node-path"

Zgen

zgen load "andyrichardson/zsh-node-path"

Acknowledgments

Inspired by the fish plugin plugin-node