projects
/
dotfiles
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
778efa6
)
Add support for machine-specific bashrcs
author
David Kerkeslager
<kerkeslager@gmail.com>
Tue, 4 Jun 2019 17:16:34 +0000
(13:16 -0400)
committer
David Kerkeslager
<kerkeslager@gmail.com>
Tue, 4 Jun 2019 17:16:34 +0000
(13:16 -0400)
.bashrc
patch
|
blob
|
history
diff --git
a/.bashrc
b/.bashrc
index
778a65d
..
578ecf2
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-78,6
+78,11
@@
fi
PATH="/usr/local/bin:$PATH"
export PATH
+# Run a machine-specific bashrc (if it exists).
+if [ -f $HOME/.bashrc_local ]; then
+ source $HOME/.bashrc_local
+fi
+
# Automatically open screen.
# The if statement prevents it from recursing (since screen opens bash).
if [ $TERM != screen ]; then