/
.bash_profile
55 lines (37 loc) · 1.22 KB
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# echo ".bash_profile start"
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
export PATH=$PATH:/usr/bin:/bin:/usr/sbin:/sbin
# for coreutils
export PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:/usr/local/opt/coreutils/libexec/gnubin:$PATH"
export PATH="/usr/local/opt/openssl/bin:$PATH"
# brew
export PATH="/opt/homebrew/sbin:/opt/homebrew/bin/:$PATH"
# Ruby
export PATH=$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH
# # Python
# export PYENV_ROOT=${HOME}/.pyenv
# export PATH=${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:$PATH
# export PYTHONUSERBASE=${HOME}/.pip_local
# export PATH=${PYTHONUSERBASE}/bin:$PATH
# Go
export GOPATH=$HOME/go
export GOBIN=$GOPATH/bin
export PATH=$GOBIN:$PATH
# home bin
export PATH=$HOME/bin:$PATH
export MANPATH=/opt/local/man:$MANPATH
if which lesspipe.sh > /dev/null; then
export LESSOPEN='| /usr/bin/env lesspipe.sh %s 2>&-'
fi
export GHQ_ROOT=$HOME/ghq
alias brew="PATH=/opt/homebrew/bin/:/opt/homebrew/sbin/:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin brew"
if [[ -f ~/.bashrc ]]; then
source ~/.bashrc
fi
if [[ -f ~/.bashrc.local ]]; then
source ~/.bashrc.local
fi
# asdf
BREW_PREFIX=`brew --prefix`
. ${BREW_PREFIX}/opt/asdf/libexec/asdf.sh
# echo ".bash_profile end"