Skip to content

Instantly share code, notes, and snippets.

@austinbv
Created June 23, 2012 02:02
Show Gist options
  • Save austinbv/2976264 to your computer and use it in GitHub Desktop.
Save austinbv/2976264 to your computer and use it in GitHub Desktop.
load local nodes to path
precmd () {
if [[ -d ./node_modules && -d ./node_modules/.bin ]]
then
export PATH="`pwd`/node_modules/.bin:$PATH"
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment