.bashrc

Wed, 16 Mar 2016 01:16:41 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 16 Mar 2016 01:16:41 -0400
changeset 270
dda2a7f4d485
parent 174
d94a247836c8
child 281
cc9fa8161af9
permissions
-rw-r--r--

nice up bashrc and xsessionrc

94
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 # .bashrc: executed for non-login shells
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 # probably sourced by .bash_profile though
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 if [ -f ~/.bashrc.dist ]; then
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 source ~/.bashrc.dist
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 fi
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7
270
dda2a7f4d485 nice up bashrc and xsessionrc
Meredith Howard <mhoward@roomag.org>
parents: 174
diff changeset
8 source .bashrc.lib
94
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9
270
dda2a7f4d485 nice up bashrc and xsessionrc
Meredith Howard <mhoward@roomag.org>
parents: 174
diff changeset
10 path-prepend "$HOME/bin"
94
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11
270
dda2a7f4d485 nice up bashrc and xsessionrc
Meredith Howard <mhoward@roomag.org>
parents: 174
diff changeset
12 if path-prepend "$HOME/.plenv/bin"; then
94
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13 eval "$(plenv init -)"
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14 fi
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15
270
dda2a7f4d485 nice up bashrc and xsessionrc
Meredith Howard <mhoward@roomag.org>
parents: 174
diff changeset
16 if path-prepend "$HOME/.rbenv/bin"; then
94
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
17 eval "$(rbenv init -)"
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
18 fi
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
19
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
20
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
21 if [ -f ~/.bashrc.local ]; then
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
22 source ~/.bashrc.local
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
23 fi
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
24
270
dda2a7f4d485 nice up bashrc and xsessionrc
Meredith Howard <mhoward@roomag.org>
parents: 174
diff changeset
25 source ~/.profile.common
dda2a7f4d485 nice up bashrc and xsessionrc
Meredith Howard <mhoward@roomag.org>
parents: 174
diff changeset
26

mercurial