1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 15:20:08 +00:00

Adds npmE alias

Option to execute a command from node_modules folder
This commit is contained in:
Ahmed Hisham Ismail 2015-08-03 22:06:33 +02:00
parent 3d5b3430fd
commit e1353fce3c

View file

@ -12,3 +12,6 @@ alias npmS="npm i -S "
# Install and save to dev-dependencies in your package.json # Install and save to dev-dependencies in your package.json
# npmd is used by https://github.com/dominictarr/npmd # npmd is used by https://github.com/dominictarr/npmd
alias npmD="npm i -D " 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'"