bash/bashrc
2026-10-27 13:13:29 +00:00

12 lines
324 B
Bash

# 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