e1353fce3ccd88441f97b65adaa98e15a640ed33

Author
Ahmed Hisham Ismail <ahm3d.hisham@gmail.com>
Committer
Ahmed Hisham Ismail <ahm3d.hisham@gmail.com>
Date

Message

Adds npmE alias

Option to execute a command from node_modules folder

Diff

 1diff --git a/plugins/npm/npm.plugin.zsh b/plugins/npm/npm.plugin.zsh
 2index 68ec5fabd2fd5601d1cd4e43ecd7889660002170..6d73576224a6e3ecdec25aae4b86a025fe706011 100644
 3--- a/plugins/npm/npm.plugin.zsh
 4+++ b/plugins/npm/npm.plugin.zsh
 5@@ -12,3 +12,6 @@ alias npmS="npm i -S "
 6 # Install and save to dev-dependencies in your package.json
 7 # npmd is used by https://github.com/dominictarr/npmd
 8 alias npmD="npm i -D "
 9+# Execute command from node_modules folder based on current directory
10+# i.e npmE gulp
11+alias npmE="'PATH=$(npm bin):$PATH'"