blob: 1f5a633a6fab4c06abfc9494acd98f52ff181492 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# Load ~/.profile regardless of shell version
if [ -e "$HOME"/.profile ] ; then
. "$HOME"/.profile
fi
# If POSIXLY_CORRECT is set after doing that, force the `posix` option on and
# don't load the rest of this stuff--so, just ~/.profile and ENV
if [ -n "$POSIXLY_CORRECT" ] ; then
set -o posix
return
fi
# If ~/.bashrc exists, source that too; the tests for both interactivity and
# minimum version numbers are in there
if [ -f "$HOME"/.bashrc ] ; then
. "$HOME"/.bashrc
fi
|