Skip to content

Instantly share code, notes, and snippets.

@prokizzle
Created September 7, 2015 22:24
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 prokizzle/370f3d6df7b76649ddd4 to your computer and use it in GitHub Desktop.
Save prokizzle/370f3d6df7b76649ddd4 to your computer and use it in GitHub Desktop.
Oh-My-Zsh custom paths
paths=(
"/Applications/Postgres93.app/Contents/MacOS/bin"
"$PATH:$GOPATH/bin"
"/usr/local/bin"
"/usr/local/opt"
"/usr/local"
"/opt/chefdk/bin"
"$HOME/.node/bin"
"$NPM_PACKAGES/bin"
"/usr/local/sbin"
)
export GOPATH=$HOME/.gocode
export NPM_PACKAGES="$HOME/.npm-packages"
export NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
export EDITOR='vim'
for ipath in ${paths[@]}
do
export PATH="$ipath:$PATH"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment