diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-05-27 18:16:37 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-05-27 18:16:37 +1200 |
commit | fa008110eba1b1f737039bc346ca09eda1a3c87f (patch) | |
tree | bef179daf43ce0ec924e3c5f650526e924002b1e /bash/bash_profile | |
parent | More robust/careful version checking (diff) | |
download | dotfiles-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_profile | 2 |
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 |