-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_profile
38 lines (27 loc) · 852 Bytes
/
.bash_profile
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
30
31
32
33
34
35
36
37
38
# Brew git-prompt
if [ -f "/usr/local/opt/bash-git-prompt/share/gitprompt.sh" ]; then
__GIT_PROMPT_DIR="/usr/local/opt/bash-git-prompt/share"
source "/usr/local/opt/bash-git-prompt/share/gitprompt.sh"
fi
# Brew bash-completion
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
# rbenv
eval "$(rbenv init -)"
if [ -d /usr/local/sbin ] ; then
PATH=/usr/local/sbin:$PATH
fi
if [ -d /usr/local/bin ] ; then
PATH=/usr/local/bin:$PATH
fi
if [ -d $HOME/bin ] ; then
PATH=$HOME/bin:$PATH
fi
# golang
export GOROOT=/usr/local/Cellar/[email protected]/1.7.6/libexec/
export GOPATH=$HOME/github
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin:/usr/local/opt/[email protected]/libexec/bin
export PATH=/usr/local/sbin:$PATH
# export JAVA_HOME
# export JAVA_HOME=$(/usr/libexec/java_home)
source ~/.bashrc