feat(npm): add npmrd alias (#11627)

This commit is contained in:
Nathanial Spearing 2023-04-20 07:42:47 -04:00 committed by GitHub
parent 5b11e70a96
commit 91c7ed45a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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