dotfiles/bash/.bashrc
2026-09-17 16:55:04 +03:00

21 lines
390 B
Bash

# ~/.bashrc
[[ $- != *i* ]] && return
BASH_CONFIG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/bash"
for config in \
env \
aliases \
build \
perf \
systemd \
tools
do
file="$BASH_CONFIG_DIR/$config.bash"
[[ -r "$file" ]] && source "$file"
done
# Machine/private configuration.
[[ -r "$BASH_CONFIG_DIR/local.bash" ]] &&
source "$BASH_CONFIG_DIR/local.bash"