blob: 038f370c4266107743d64ee47e0d7b570a5cbd14 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Give up completely if no BASH_VERSINFO (<2.0)
if [ -z "$BASH_VERSINFO" ]; then
printf \
'%s: %s is too old to work with this configuration.\n' \
"${BASH##*/}" "$BASH_VERSION" >&2
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
|