-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpath.sh
More file actions
29 lines (22 loc) · 779 Bytes
/
path.sh
File metadata and controls
29 lines (22 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
DIR=$(dirname $BASH_SOURCE)
# set up NVM
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
# add our dotfiles bin to path
DOTFILES_BIN="$DIR/bin"
export PATH="$DOTFILES_BIN:$PATH"
# add Postgres.app so we can use psql
export PATH="/Applications/Postgres.app/Contents/Versions/latest/bin:$PATH"
if [ -e "$HOME/Library/Python/2.7/bin" ]; then
export PATH="$PATH:$HOME/Library/Python/2.7/bin"
fi
if [ -e "$HOME/go/bin" ]; then
export PATH="$PATH:$HOME/go/bin"
fi
# if [ -e "/anaconda/bin" ]; then
# export PATH="/anaconda/bin:$PATH"
# fi
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/usr/local/lib/google-cloud-sdk/path.bash.inc' ]; then
source '/usr/local/lib/google-cloud-sdk/path.bash.inc'
fi