19 lines
540 B
Bash
19 lines
540 B
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
|