chezmoi Dotfiles Management
- Install the
chezmoi
binary chezmoi init https://github.com/bmckenna805/dotfiles.git
chezmoi apply
I learned how to use chezmoi largely by looking at https://github.com/speshak/dotfiles so full credit where credit is due. He also explained how his template for environment based variables works.
- Install chezmoi
- Init and apply chezmoi
- Set up your new GPG key
- Add key to github profile
- Edit .gitconfig and .gnupg/gpg.cong with new key value
- Edit related dotfiles and commit to this repo
- Edit the
.chezmoi.toml.tmpl
file with the new email and gpg key ID