2023-09-10 11:01:37 +02:00
|
|
|
#!/bin/bash
|
2023-09-10 11:49:01 +02:00
|
|
|
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
2023-09-10 11:44:53 +02:00
|
|
|
# Load other bashrc files
|
2023-09-10 11:49:01 +02:00
|
|
|
for bashrc_file in $(find "${script_dir}/bashrc.d" -type f | sort | grep -v ~$)
|
2023-09-10 11:01:37 +02:00
|
|
|
do
|
|
|
|
if [ -n "${bashrc_file}" ]; then
|
|
|
|
# shellcheck disable=SC1090
|
|
|
|
source "${bashrc_file}"
|
|
|
|
fi
|
|
|
|
done
|