mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 01:48:34 -07:00
feat(npm): add npmrd
alias (#11627)
This commit is contained in:
parent
5b11e70a96
commit
91c7ed45a3
@ -29,6 +29,7 @@ plugins=(... npm)
|
||||
| `npmI` | `npm init` | Run npm init |
|
||||
| `npmi` | `npm info` | Run npm info |
|
||||
| `npmSe` | `npm search` | Run npm search |
|
||||
| `npmrd` | `npm run dev` | Run npm run dev |
|
||||
|
||||
## `npm install` / `npm uninstall` toggle
|
||||
|
||||
|
@ -70,6 +70,9 @@ alias npmi="npm info"
|
||||
# Run npm search
|
||||
alias npmSe="npm search"
|
||||
|
||||
# Run npm run dev
|
||||
alias npmrd="npm run dev"
|
||||
|
||||
npm_toggle_install_uninstall() {
|
||||
# Look up to the previous 2 history commands
|
||||
local line
|
||||
|
Loading…
Reference in New Issue
Block a user