aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc
blob: deb55cc21a6806d99635fc084c56510c99f40c9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# Make sure the shell is interactive
case $- in
    *i*) ;;
    *) return ;;
esac

# Load all the POSIX-compatible functions from ~/.shrc.d; more advanced shells
# like bash will have their own functions
for sh in "$HOME"/.shrc.d/*.sh ; do
    [ -e "$sh" ] && . "$sh"
done
unset -v sh