my_bashrc/etc_bash_rc
2023-09-10 12:44:53 +03:00

9 lines
215 B
Bash

#!/bin/bash
# Load other bashrc files
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