.bashrc file was a mess, with way too much stuff inside one file, making it hard to manage. I decided to split it up and make it modular. To do this I keep my main
.bashrc file really simple. The only thing it does is loop through the
~/.bashrc.d/ folder and running everything inside it.
I was looking for some easy way to manage my dotfiles. Dotfiles are just configuration files most systems use today. They are stored in your home directory
$HOME, and are prefixed with a
. to make them hidden. An example of dotfiles:
I stumbled upon a great post on Hacker News about how to manage your dotfiles. I followed those steps and decided to write a bit about my process.