Files
configs/home/.bashrc
2025-02-23 23:14:46 +00:00

19 lines
551 B
Bash

#!/bin/bash
# ~/.bashrc (symlink to ~/code/configs/home/.bashrc)
# Load base configurations
source ~/code/configs/home/bash-config/rc.base
source ~/code/configs/home/bash-config/rc.aliases
source ~/code/configs/home/bash-config/rc.functions
# Load machine-specific configurations
[ -f ~/code/configs/home/bash-config/bashrc.local ] && \
source ~/code/configs/home/bash-config/bashrc.local
# Load environment-specific config (example)
if [ "$(hostname)" = "my-work-pc" ]; then
source ~/code/configs/home/bash-config/env/work-machine.sh
fi