dotfiles/dot_bashrc.d/bashrc.init

12 lines
307 B
Plaintext

# This churns through files in $HOME/.bashrc.d if they are executable.
if [ -d $HOME/.bashrc.d ]; then
for x in $HOME/.bashrc.d/* ; do
if [[ "${x##*/}" != "bashrc.init" ]]; then
test -f "$x" || continue
test -x "$x" || continue
. "$x"
fi
done
fi