mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-27 08:48:56 +01: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 init` | Run npm init |
|
||||||
| `npmi` | `npm info` | Run npm info |
|
| `npmi` | `npm info` | Run npm info |
|
||||||
| `npmSe` | `npm search` | Run npm search |
|
| `npmSe` | `npm search` | Run npm search |
|
||||||
|
| `npmrd` | `npm run dev` | Run npm run dev |
|
||||||
|
|
||||||
## `npm install` / `npm uninstall` toggle
|
## `npm install` / `npm uninstall` toggle
|
||||||
|
|
||||||
|
@ -70,6 +70,9 @@ alias npmi="npm info"
|
|||||||
# Run npm search
|
# Run npm search
|
||||||
alias npmSe="npm search"
|
alias npmSe="npm search"
|
||||||
|
|
||||||
|
# Run npm run dev
|
||||||
|
alias npmrd="npm run dev"
|
||||||
|
|
||||||
npm_toggle_install_uninstall() {
|
npm_toggle_install_uninstall() {
|
||||||
# Look up to the previous 2 history commands
|
# Look up to the previous 2 history commands
|
||||||
local line
|
local line
|
||||||
|
Loading…
Reference in New Issue
Block a user