export NVM_DIR="${HOME}/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" --no-use # This loads nvm

export NVM_DIR="${HOME}/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" --no-use # This loads nvm

function npm-do { (PATH=$(npm bin):$PATH; eval $@;) }

Add npm-do to run npm-installed executables.
Add npm-do to run npm-installed executables.

See: http://2ality.com/2016/01/locally-installed-npm-executables.html
