blob: 78fbd2cc7d4612047016398d9f8d565cae99dfbe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Add ~/.local/bin to PATH if it exists
if [ -d "$HOME"/.local/bin ] ; then
PATH=$HOME/.local/bin:$PATH
fi
# Load all supplementary scripts in ~/.profile.d
for profile in "$HOME"/.profile.d/*.sh ; do
[ -e "$profile" ] || continue
. "$profile"
done
unset -v profile
# If ~/.shrc exists, source that too; the test for interactivity is in there
if [ -f "$HOME"/.shrc ] ; then
source "$HOME"/.shrc
fi
|