diff options
author | Nathanial Spearing <spearingnathanial@gmail.com> | 2023-04-20 07:42:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-20 13:42:47 +0200 |
commit | 91c7ed45a312a71b7d3b856228047ddcd51d4651 (patch) | |
tree | 0b09068bdd50386a9cd363f4fd1635d9316d7be5 | |
parent | 5b11e70a9617c6e248fd6947e84016bd8c37028e (diff) | |
download | zsh-91c7ed45a312a71b7d3b856228047ddcd51d4651.tar.gz zsh-91c7ed45a312a71b7d3b856228047ddcd51d4651.tar.bz2 zsh-91c7ed45a312a71b7d3b856228047ddcd51d4651.zip |
feat(npm): add `npmrd` alias (#11627)
-rw-r--r-- | plugins/npm/README.md | 1 | ||||
-rw-r--r-- | plugins/npm/npm.plugin.zsh | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/plugins/npm/README.md b/plugins/npm/README.md index 8eafc6d61..420dd710a 100644 --- a/plugins/npm/README.md +++ b/plugins/npm/README.md @@ -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 diff --git a/plugins/npm/npm.plugin.zsh b/plugins/npm/npm.plugin.zsh index e0dcbf142..3cba18f6c 100644 --- a/plugins/npm/npm.plugin.zsh +++ b/plugins/npm/npm.plugin.zsh @@ -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 |