blob: e190d6baa608f05c97cbcc977a0a7f6bfb9e7f0a (
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 the shell is interactive, and ~/.shrc exists, source that too
case $- in
*i*) [ -f "$HOME"/.shrc ] && . "$HOME"/.shrc ;;
esac
|