aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_profile
blob: e23ec45864e268c43fdded5327951a3e0c32005a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Give up completely if no BASH_VERSINFO (<2.0)
if [ -z "$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
fi