diff --git a/bash.bashrc b/bash.bashrc index e90030d..8fa3fe2 100644 --- a/bash.bashrc +++ b/bash.bashrc @@ -1,3 +1,9 @@ -for file in /etc/bash.d/*.sh ; do +#! /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