aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_profile
blob: bf2fa92c01b45a828258a3c5464845167cabe925 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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 interactive Bash config if it exists
if [[ -r $HOME/.bashrc ]] ; then
    source "$HOME"/.bashrc
fi