9 lines
180 B
Bash
9 lines
180 B
Bash
#! /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
|