The project is open source (MIT) and contributions are welcome: https://github.com/yourusername/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
# Load mbashr modules if [ -f "$HOME/.config/mbashr/init.sh" ]; then source "$HOME/.config/mbashr/init.sh" fi Directory structure ~/.config/mbashr/ ├── modules/ │ ├── aliases.sh │ ├── exports.sh │ ├── prompt.sh │ └── kubectl.sh ├── init.sh # generated by mbashr └── modules.lock # tracks file hashes Commands | Command | Description | |---------|-------------| | mbashr list | List available modules | | mbashr reload [module] | Reload all changed modules or just one | | mbashr enable <module> | Add module to startup set | | mbashr disable <module> | Remove from startup set | | mbashr status | Show which modules are loaded and their hash | Example workflow You edit ~/.config/mbashr/modules/aliases.sh and add: The project is open source (MIT) and contributions
curl -fsSL https://raw.githubusercontent.com/yourusername/mbashr/main/install.sh | bash Add to your ~/.bashrc : Supercharge Your Shell: A Complete Guide to mbashr
Since mbashr is not a widely known standard tool, I’ve framed it as an that helps manage modular Bash configurations and reloads them without spawning a new shell. Supercharge Your Shell: A Complete Guide to mbashr If you’ve ever found yourself knee-deep in a tangled .bashrc file, hunting for that one alias you added months ago, or repeatedly typing exec bash just to pick up a new environment variable — welcome to the club. Today, I’m introducing mbashr (Modular Bash Reloader), a lightweight tool to bring sanity back to your shell. What is mbashr ? mbashr is a modular environment manager for Bash. It lets you split your .bashrc into small, focused modules (e.g., aliases.sh , paths.sh , functions.sh , secrets.sh ) and reload them on demand — without losing your current session’s state.
Choose the area where you need support — and get a guided solution.
Support for confidence, stress relief, and decision-making with clarity.
View DetailsDirection for career planning, job decisions, and success-focused mindset.
View DetailsPeaceful solutions for family, marriage, and relationship balance.
View DetailsA calm approach with strong focus on results and peace of mind.
Simple explanations and practical next steps.
Your personal matters stay private and respected.
Solutions based on your specific situation and needs.
Guidance designed to help you stay consistent and confident.