Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.
/ dotfiles Public archive

Personal dotfiles for macOS and Linux.

License

Notifications You must be signed in to change notification settings

davidmytton/dotfiles

Repository files navigation

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.