Mbashr -
mbashr reload aliases Your new alias is immediately available. 1. Conditional modules Create ~/.config/mbashr/modules/docker.sh :
curl -fsSL https://raw.githubusercontent.com/yourusername/mbashr/main/install.sh | bash Add to your ~/.bashrc : mbashr
# Only load if docker CLI exists if command -v docker &> /dev/null; then alias d='docker' alias dc='docker-compose' complete -F _docker d fi ~/.config/mbashr/hosts/work/aliases.sh ~/.config/mbashr/hosts/personal/aliases.sh mbashr automatically picks the right host directory. 3. Dependency ordering Add a comment to control load order: mbashr reload aliases Your new alias is immediately
alias gs='git status' Instead of source ~/.bashrc , just run: mbashr