My personal dotfiles for macOS and Linux, set up with dotbot and inspiration from Josiah Nunemaker's blog post.
For macOS and most Linux, dotbot is set up to install the right packages. On Alpine, they must be installed manually.
git clone git@github.com:davidmytton/dotfiles.git
cd dotfiles
./install
sudo apk add git exa bat neovim
git clone git@github.com:davidmytton/dotfiles.git
cd dotfiles
./install
I originally used a very simple dotbot config, then moved to
chezmoi for the more advanced features. However, that
requires installing the chezmoi binary and adopting the workflow. dotbot is
embedded into the repo and uses a standard ./install
script.
A record of the initial dotbot setup, copied from the readme:
cd dotfiles
git submodule add https://github.com/anishathalye/dotbot
git config -f .gitmodules submodule.dotbot.ignore dirty # ignore dirty commits in the submodule
cp dotbot/tools/git-submodule/install .
touch install.conf.yaml
Also has a modified ./install
script to trigger installed plugins.