From 7ed8888c5bc58827a5b8cf9e8347829613bd3683 Mon Sep 17 00:00:00 2001 From: Sherwin Heydarbeygi Date: Sun, 25 Apr 2021 10:08:51 -0700 Subject: [PATCH] feat(npm): add aliases for `npm search` and `npm info` (#9365) --- plugins/npm/README.md | 2 ++ plugins/npm/npm.plugin.zsh | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/plugins/npm/README.md b/plugins/npm/README.md index d6bada38b..47d153619 100644 --- a/plugins/npm/README.md +++ b/plugins/npm/README.md @@ -27,3 +27,5 @@ plugins=(... npm) | `npmR` | `npm run` | Run npm scripts | | `npmP` | `npm publish` | Run npm publish | | `npmI` | `npm init` | Run npm init | +| `npmi` | `npm info` | Run npm info | +| `npmSe` | `npm search` | Run npm search | diff --git a/plugins/npm/npm.plugin.zsh b/plugins/npm/npm.plugin.zsh index 23f627ccd..f7d6d3939 100644 --- a/plugins/npm/npm.plugin.zsh +++ b/plugins/npm/npm.plugin.zsh @@ -63,3 +63,9 @@ alias npmP="npm publish" # Run npm init alias npmI="npm init" + +# Run npm info +alias npmi="npm info" + +# Run npm search +alias npmSe="npm search"