2024-03-24 08:50:29 +00:00
|
|
|
# Source all the overrides in this folder
|
2023-12-14 13:24:21 +00:00
|
|
|
for source in $(find "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)" -type f | grep -Ev "_all|terminal_fancyfying"); do
|
2023-12-12 14:47:25 +00:00
|
|
|
. "${source}"
|
2021-01-11 14:25:38 +00:00
|
|
|
done
|
2023-12-14 13:24:21 +00:00
|
|
|
. "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)/terminal_fancyfying_${TERMINAL_FANCYFY}"
|
2024-03-24 08:50:29 +00:00
|
|
|
|
|
|
|
# If the file ~/.bash_sources exist, source every line it contains
|
|
|
|
if [ -f ~/.bash_sources ]; then
|
|
|
|
while IFS= read -r line; do
|
|
|
|
# Skip empty lines and comments (#)
|
|
|
|
if [ -n "$line" ] && ! [[ "$line" == \#* ]]; then
|
|
|
|
. "$line"
|
|
|
|
fi
|
|
|
|
done < ~/.bash_sources
|
|
|
|
fi
|