# shellcheck shell=bash

# Interactive Bash only. Login environment belongs to ~/.profile.
[[ $- != *i* ]] && return

_bash_config_dir=${XDG_CONFIG_HOME:-$HOME/.config}/bash

for _bash_module in "$_bash_config_dir"/bashrc.d/*.bash; do
	[[ -r "$_bash_module" ]] && . "$_bash_module"
done

unset _bash_module _bash_config_dir
