.bashrc

Sun, 14 Jul 2019 04:19:34 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 14 Jul 2019 04:19:34 -0500
changeset 776
6982ec9ba7c3
parent 717
aa75c68ba540
child 876
9702221eb0f6
permissions
-rw-r--r--

more vimlike

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
717
aa75c68ba540 add go/bin
Meredith Howard <mhoward@roomag.org>
parents: 712
diff changeset
10 for DIR in 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