Skip to content

Instantly share code, notes, and snippets.

@esjay
Created April 2, 2015 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esjay/ddeabebf6ff9a0cb4d2e to your computer and use it in GitHub Desktop.
Save esjay/ddeabebf6ff9a0cb4d2e to your computer and use it in GitHub Desktop.
# Path configuration
paths=(
/usr/local/share/npm/bin
/usr/local/heroku/bin
"$HOME/.node/bin"
"$HOME/.rvm/bin"
/usr/local/sbin
/usr/local/bin
/usr/bin
/usr/sbin
/bin
/sbin
# other things, etc, etc...
)
OLD_IFS="$IFS"
export IFS=":"
PATH="${paths[*]}"
export IFS="$OLD_IFS"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment