moved from static list of file to include to for cycle

This commit is contained in:
Bryan Joshua Pedini 2023-12-12 15:47:25 +01:00
parent ab8821aa4c
commit fdb5d070e4
1 changed files with 2 additions and 11 deletions

View File

@ -1,12 +1,3 @@
for source in colored_commands \
convenience_aliases \
docker_aliases \
git_functions \
histcontrol \
home_bin_folder \
ls_aliases \
safety_aliases \
terminal_colors \
terminal_fancyfying_${TERMINAL_FANCYFY}; do
. "$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )/$source"
for source in $(find "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)" -type f | grep -v "_all"); do
. "${source}"
done