.bashrc

changeset 270
dda2a7f4d485
parent 174
d94a247836c8
child 281
cc9fa8161af9
equal deleted inserted replaced
269:368d0e4449ed 270:dda2a7f4d485
3 3
4 if [ -f ~/.bashrc.dist ]; then 4 if [ -f ~/.bashrc.dist ]; then
5 source ~/.bashrc.dist 5 source ~/.bashrc.dist
6 fi 6 fi
7 7
8 source ~/.profile.common 8 source .bashrc.lib
9 9
10 if [ -d ~/bin ]; then 10 path-prepend "$HOME/bin"
11 export PATH="$HOME/bin:$PATH"
12 fi
13 11
14 if [ -d ~/.plenv ]; then 12 if path-prepend "$HOME/.plenv/bin"; then
15 export PATH="$HOME/.plenv/bin:$PATH"
16 eval "$(plenv init -)" 13 eval "$(plenv init -)"
17 fi 14 fi
18 15
19 if [ -d ~/.rbenv ]; then 16 if path-prepend "$HOME/.rbenv/bin"; then
20 export PATH="$HOME/.rbenv/bin:$PATH"
21 eval "$(rbenv init -)" 17 eval "$(rbenv init -)"
22 fi 18 fi
23 19
24 20
25 if [ -f ~/.bashrc.local ]; then 21 if [ -f ~/.bashrc.local ]; then
26 source ~/.bashrc.local 22 source ~/.bashrc.local
27 fi 23 fi
28 24
25 source ~/.profile.common
26

mercurial