Fix autoload .sh file in custom directory

This commit is contained in:
Toan Nguyen
2017-03-19 16:17:21 +07:00
parent 78585ff01b
commit a23924a10f
2 changed files with 3 additions and 38 deletions

View File

@@ -65,7 +65,9 @@ done
# Load all of your custom configurations from custom/
for config_file in $OSH_CUSTOM/*.sh; do
source $config_file
if [ -f config_file ]; then
source $config_file
fi
done
unset config_file