.bashrc

Fri, 07 Aug 2020 17:56:27 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 07 Aug 2020 17:56:27 -0500
changeset 879
34cddeee4d77
parent 876
9702221eb0f6
child 893
3b53619431ed
permissions
-rw-r--r--

init.defaultBranch = main

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
687
Meredith Howard <mhoward@roomag.org>
parents: 515
diff changeset
8 source ~/.lib/bash/path.sh
94
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9
876
9702221eb0f6 permanent stow path
Meredith Howard <mhoward@roomag.org>
parents: 717
diff changeset
10 for DIR in bin local/bin .cargo/bin .local/bin go/bin; do
712
1fa3948ce85e add these two common bins
Meredith Howard <mhoward@roomag.org>
parents: 687
diff changeset
11 path-prepend "$HOME/$DIR"
1fa3948ce85e add these two common bins
Meredith Howard <mhoward@roomag.org>
parents: 687
diff changeset
12 done
94
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13
270
dda2a7f4d485 nice up bashrc and xsessionrc
Meredith Howard <mhoward@roomag.org>
parents: 174
diff changeset
14 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
15 eval "$(plenv init -)"
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16 fi
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
17
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
18 if [ -f ~/.bashrc.local ]; then
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
19 source ~/.bashrc.local
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
20 fi
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
21
270
dda2a7f4d485 nice up bashrc and xsessionrc
Meredith Howard <mhoward@roomag.org>
parents: 174
diff changeset
22 source ~/.profile.common
dda2a7f4d485 nice up bashrc and xsessionrc
Meredith Howard <mhoward@roomag.org>
parents: 174
diff changeset
23

mercurial