/dotfiles

Personal dotfiles for macOS and Linux.

Primary LanguageCSSGNU Affero General Public License v3.0AGPL-3.0

David Mytton's dotfiles

My personal dotfiles for macOS and Linux, set up with dotbot and inspiration from Josiah Nunemaker's blog post.

Setup

For macOS and most Linux, dotbot is set up to install the right packages. On Alpine, they must be installed manually.

macOS and Linux

git clone git@github.com:davidmytton/dotfiles.git
cd dotfiles
./install

Alpine Linux

sudo apk add git exa bat neovim
git clone git@github.com:davidmytton/dotfiles.git
cd dotfiles
./install

Why dotbot?

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.

Initial dotbot setup

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.