# 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 shrc in "$HOME"/.shrc.d/*.sh ; do [ -e "$shrc" ] || continue . "$shrc" done unset -v shrc