From: David Kerkeslager Date: Tue, 4 Jun 2019 17:16:34 +0000 (-0400) Subject: Add support for machine-specific bashrcs X-Git-Url: https://code.kerkeslager.com/?p=dotfiles;a=commitdiff_plain;h=b08273b399ed39e5917bf8b081a99de5566e0511 Add support for machine-specific bashrcs --- diff --git a/.bashrc b/.bashrc index 778a65d..578ecf2 100644 --- 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