blob: bd80dba6ce53f85af6c0ad1ff617b336c605de39 (
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
|