From fa008110eba1b1f737039bc346ca09eda1a3c87f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 27 May 2015 18:16:37 +1200 Subject: Attempt to read .bashrc on existence So that an error is thrown if we can't read it, which isn't normal --- bash/bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash/bash_profile') diff --git a/bash/bash_profile b/bash/bash_profile index d3f9f9b0..4e25ab24 100644 --- a/bash/bash_profile +++ b/bash/bash_profile @@ -12,7 +12,7 @@ elif ((10#${BASH_VERSINFO[0]%%[![:digit:]]} == 2)) \ fi # Source interactive Bash config if it exists -if [[ -r $HOME/.bashrc ]] ; then +if [[ -e $HOME/.bashrc ]] ; then source "$HOME"/.bashrc fi -- cgit v1.2.3