aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_profile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-05-27 18:16:37 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-05-27 18:16:37 +1200
commitfa008110eba1b1f737039bc346ca09eda1a3c87f (patch)
treebef179daf43ce0ec924e3c5f650526e924002b1e /bash/bash_profile
parentMore robust/careful version checking (diff)
downloaddotfiles-fa008110eba1b1f737039bc346ca09eda1a3c87f.tar.gz
dotfiles-fa008110eba1b1f737039bc346ca09eda1a3c87f.zip
Attempt to read .bashrc on existence
So that an error is thrown if we can't read it, which isn't normal
Diffstat (limited to 'bash/bash_profile')
-rw-r--r--bash/bash_profile2
1 files changed, 1 insertions, 1 deletions
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