blob: 038f370c4266107743d64ee47e0d7b570a5cbd14 (
plain) (
tree)
|
|
# 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
|