From: Colin Patrick McCabe Date: Wed, 19 May 2010 21:01:50 +0000 (-0700) Subject: bashrc: source.bashrc-local if it exists X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f83925bb8a957c052bc348f0ed69c4927a87c56b;p=cmccabe-etc bashrc: source.bashrc-local if it exists --- diff --git a/.bashrc b/.bashrc index 3de959c..9abe74b 100644 --- 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