sh/bash.d/main.sh
2023-05-09 22:10:18 +02:00

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