mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 13:50:09 +00:00
feat(npm): add npmrd
alias (#11627)
This commit is contained in:
parent
5b11e70a96
commit
91c7ed45a3
2 changed files with 4 additions and 0 deletions
|
@ -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 a new issue