projects
/
cmccabe-etc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1e934b0
)
bashrc: source.bashrc-local if it exists
author
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Wed, 19 May 2010 21:01:50 +0000 (14:01 -0700)
committer
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Wed, 19 May 2010 21:01:50 +0000 (14:01 -0700)
.bashrc
patch
|
blob
|
history
diff --git
a/.bashrc
b/.bashrc
index
3de959c
..
9abe74b
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-5,6
+5,10
@@
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
+if [ -f ~/.bashrc-local ]; then
+ . ~/.bashrc-local
+fi
+
case $- in
*i*)
# interactive shell