You seem to have found my super secret dotfiles. Go you. It's pretty boring for the most part.
I learned that manually managing dotfiles is kind of a pain. I tried to simplify this by:
While the current iteration does look a bit complex — and likely could be simpler — I made it as simple as I reasonably could without cutting out some niceties. Doing it in Bash (aside from it being the optimal language for this task) has given me a reason to dive into the language more, such as fully understanding conditionals and case
statements. I'm no pro, but I'm slowly getting there.
If you like these helper scripts, you are more than welcome to use them verbatim or for inspiration.