[profiles/base] modify bash config

This commit is contained in:
2026-02-21 06:02:21 +01:00
parent abf96107ab
commit 4192eb836c
6 changed files with 82 additions and 42 deletions

View File

@@ -3,12 +3,13 @@
#
# load bash configuration
readonly CONF_DIR="${HOME}/.bash/conf.d"
CONF_DIR="${HOME}/.bash/conf.d"
readonly CONF_DIR
if [[ -d "${CONF_DIR}" ]]; then
for conf_file in "${CONF_DIR}"/*.bash; do
[[ -r "${conf_file}" ]] || continue
# shellcheck source=/dev/null
source "${conf_file}"
done
for conf_file in "${CONF_DIR}"/*.bash; do
[[ -r "${conf_file}" ]] || continue
# shellcheck source=/dev/null
source "${conf_file}"
done
fi