Created
March 1, 2016 11:58
-
-
Save gitaarik/75a6b3a1bfe4a5af4f68 to your computer and use it in GitHub Desktop.
Alias to add the `node_modules/.bin/` directory to `$PATH` variable so that you can use executables from node modules.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias npmbin='echo -e "Setting up npmbin with path:\n$(npm bin)"; export PATH=$(npm bin):$PATH' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment