aboutsummaryrefslogtreecommitdiff
path: root/sh/profile
blob: e9e974e0f30e411d9ac99fd2fd3ee0b6fdcb84c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# 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