Many people backup and sync their configs by just copying the whole dotfiles. Unfortunately, I’m not a big fan of this because then I backup a lot of lines I do not care about. Usually, I do only add a few lines to a config so that it fits my preferences. Otherwise, I like using the default settings the tools come with. So, I tried to find a tool which would fit my preferences but was unlucky. Confible was born. It can adjust config files and execute commands. Check the repository for the latest version and readme.
It was already implemented more than a year ago, but I just decided to announce it on the blog today.
Confible is a simple configuration tool for your local machine.
When configs are applied, a boundary header and footer are added which allows executing the configs multiple times or adjusting them and the target file will only contain the latest version of your desired configuration without the need of removing old modifications first.
» Precompiled Binaries
See the releases page for precompiled binaries.
Using the Homebrew package manager for macOS:
It’s also possible to install the latest release with
yoyo outputs from the
[[commands]] section, the
[[config]] section will result into the below shown
Feel free to adjust the config and rerun
confible for updating the
zshrc to the latest version.
» Config Specification