mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-11-10 02:31:49 -05:00
fix(npm): replace removed npm bin in npmE (#14250)
This commit is contained in:
@@ -16,7 +16,7 @@ plugins=(... npm)
|
||||
| `npmS` | `npm i -S` | Install and save to dependencies in your package.json |
|
||||
| `npmD` | `npm i -D` | Install and save to dev-dependencies in your package.json |
|
||||
| `npmF` | `npm i -f` | Force install from remote registries ignoring local cache |
|
||||
| `npmE` | `PATH="$(npm bin)":"$PATH"` | Run command from node_modules folder based on current directory |
|
||||
| `npmE` | `PATH="$(npm root)/.bin":"$PATH"` | Run command from node_modules folder based on current directory |
|
||||
| `npmO` | `npm outdated` | Check which npm modules are outdated |
|
||||
| `npmU` | `npm update` | Update all the packages listed to the latest version |
|
||||
| `npmV` | `npm -v` | Check package versions |
|
||||
|
||||
@@ -32,7 +32,7 @@ alias npmF='npm i -f'
|
||||
|
||||
# Execute command from node_modules folder based on current directory
|
||||
# i.e npmE gulp
|
||||
alias npmE='PATH="$(npm bin)":"$PATH"'
|
||||
alias npmE='PATH="$(npm root)/.bin":"$PATH"'
|
||||
|
||||
# Check which npm modules are outdated
|
||||
alias npmO="npm outdated"
|
||||
|
||||
Reference in New Issue
Block a user