#! /usr/bin/env bash PATH="$(realpath "${BASH_SOURCE[0]}")" ROOT="$(dirname "${PATH}")" DIRECTORY="${ROOT}/bash.d" for file in "${DIRECTORY}"/*.sh ; do source "${file}" done