https://github.com/andyrichardson/zsh-node-path
ZSH plugin for automatically adding the "npm bin" of your current directory to your path.
https://github.com/andyrichardson/zsh-node-path
nodejs terminal zsh
Last synced: 3 months ago
JSON representation
ZSH plugin for automatically adding the "npm bin" of your current directory to your path.
- Host: GitHub
- URL: https://github.com/andyrichardson/zsh-node-path
- Owner: andyrichardson
- License: mit
- Created: 2019-09-07T14:08:56.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-19T15:52:13.000Z (about 6 years ago)
- Last Synced: 2024-12-06T21:23:36.919Z (12 months ago)
- Topics: nodejs, terminal, zsh
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - andyrichardson/zsh-node-path - ZSH plugin for automatically adding the "npm bin" of your current directory to your path. (Shell)
- awesome-zsh-plugins - node-path - Automatically adds the `npm` bin of your current directory to your `$PATH`. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - node-path - Automatically adds the `npm` bin of your current directory to your `$PATH`. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - node-path - Automatically adds the "npm bin" of your current directory to your path. (Plugins / Zinit (née zplugin))
README
# zsh-node-path
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](https://github.com/zsh-users/antigen)
```sh
antigen bundle andyrichardson/zsh-node-path
```
### [Zplug](https://github.com/zplug/zplug)
```sh
zplug "andyrichardson/zsh-node-path"
```
### [Zgen](https://github.com/tarjoilija/zgen)
```sh
zgen load "andyrichardson/zsh-node-path"
```
## Acknowledgments
Inspired by the fish plugin [plugin-node](https://github.com/oh-my-fish/plugin-node)