Browse Source

Merge pull request #4209 from ah450/npm-exec

Adds npmE alias
Robby Russell 9 years ago
parent
commit
1e49dfcd15
1 changed files with 3 additions and 0 deletions
  1. 3 0
      plugins/npm/npm.plugin.zsh

+ 3 - 0
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"'