.bashrc

Thu, 09 Feb 2017 19:00:50 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 09 Feb 2017 19:00:50 -0500
changeset 509
14ac01e21c51
parent 281
cc9fa8161af9
child 515
199b08808ed5
permissions
-rw-r--r--

in-place write for crontabs

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
281
cc9fa8161af9 Use full path
Meredith Howard <mhoward@roomag.org>
parents: 270
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