SELF="$(realpath "${BASH_SOURCE[0]}")" DIR="$(cd "$(dirname "${SELF}")"; pwd -P)" for d in $(ls "${DIR}"/*/profile); do source "${d}" done