diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-05-27 18:15:40 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-05-27 18:15:40 +1200 |
commit | 39c1d3d47308ad8a375806235b7273f128898a9c (patch) | |
tree | 3b090875919f357fd740276f6b329dd1c44e5b64 | |
parent | Update plugins (diff) | |
download | dotfiles-39c1d3d47308ad8a375806235b7273f128898a9c.tar.gz dotfiles-39c1d3d47308ad8a375806235b7273f128898a9c.zip |
Always source ~/.profile in ~/.bash_profile
-rw-r--r-- | bash/bash_profile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bash/bash_profile b/bash/bash_profile index d7b703eb..bf2fa92c 100644 --- a/bash/bash_profile +++ b/bash/bash_profile @@ -1,13 +1,13 @@ +# Load ~/.profile regardless of shell version +if test -e "$HOME"/.profile ; then + . "$HOME"/.profile +fi + # Give up completely if no BASH_VERSINFO (<2.0) if ! test "$BASH_VERSINFO" ; then return fi -# Source Bourne shell profile if it exists -if [[ -r $HOME/.profile ]] ; then - source "$HOME"/.profile -fi - # Source interactive Bash config if it exists if [[ -r $HOME/.bashrc ]] ; then source "$HOME"/.bashrc |