summaryrefslogtreecommitdiff
path: root/plugins/npm
diff options
context:
space:
mode:
authorAndrew Janke <andrew@apjanke.net>2015-09-19 15:07:36 -0400
committerAndrew Janke <andrew@apjanke.net>2015-09-19 15:07:36 -0400
commit6cddf7202b8ef5c2eb2dfc081d870dc9e751d646 (patch)
treebe3fe162edbc04946eea014a3612280d4909dc1e /plugins/npm
parent82c76f6b5c2718622a532fb759231e8d24171413 (diff)
parentcbc1a0806e910f7b4eed07b992d3d88ff7cb1162 (diff)
downloadzsh-6cddf7202b8ef5c2eb2dfc081d870dc9e751d646.tar.gz
zsh-6cddf7202b8ef5c2eb2dfc081d870dc9e751d646.tar.bz2
zsh-6cddf7202b8ef5c2eb2dfc081d870dc9e751d646.zip
Merge branch 'master' into installer-portable-colors
Diffstat (limited to 'plugins/npm')
-rw-r--r--plugins/npm/npm.plugin.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/npm/npm.plugin.zsh b/plugins/npm/npm.plugin.zsh
index 68ec5fabd..595105d3c 100644
--- a/plugins/npm/npm.plugin.zsh
+++ b/plugins/npm/npm.plugin.zsh
@@ -12,3 +12,6 @@ alias npmS="npm i -S "
# Install and save to dev-dependencies in your package.json
# npmd is used by https://github.com/dominictarr/npmd
alias npmD="npm i -D "
+# Execute command from node_modules folder based on current directory
+# i.e npmE gulp
+alias npmE='PATH="$(npm bin)":"$PATH"'