reformat code, stylistic changes

This commit is contained in:
2026-02-28 14:45:41 +01:00
parent 25ee2cb422
commit db97601519
20 changed files with 232 additions and 234 deletions

View File

@@ -3,13 +3,11 @@
#
# load bash configuration
CONF_DIR="${HOME}/.bash/conf.d"
readonly CONF_DIR
readonly conf_dir="${HOME}/.bash/conf.d"
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
if [[ -d "${conf_dir}" ]]; then
for conf_file in "${conf_dir}"/*.bash; do
# shellcheck source=/dev/null
[[ -r "$conf_file" ]] && . "${conf_file}"
done
fi