feat: add bash configs

This commit is contained in:
hhhh hgfh 2026-09-17 16:55:04 +03:00
parent fd258a4df3
commit 6ee9a85ca1
7 changed files with 275 additions and 0 deletions

21
bash/.bashrc Normal file
View file

@ -0,0 +1,21 @@
# ~/.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"