my_bashrc/etc_bash_rc

10 lines
215 B
Text
Raw Normal View History

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