Recursive load of out of place custom config files

This commit is contained in:
Rodrigo Lanza
2017-09-12 07:39:13 +02:00
parent 517d4b2ca4
commit 3e60efd19d
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ do
done
# Custom
CUSTOM="${BASH_IT_CUSTOM:=${BASH_IT}/custom}/*.bash"
CUSTOM="${BASH_IT_CUSTOM:=${BASH_IT}/custom}/*.bash ${BASH_IT_CUSTOM:=${BASH_IT}/custom}/**/*.bash"
for config_file in $CUSTOM
do
if [ -e "${config_file}" ]; then