Dotfiles, managed with Chezmoi.
IMPORTANT: While many dotfile repositories are designed to be forked, mine are not. These are customized for my personal use and likely contain many things you won't need or want to use. Posting publicly so you can see how I manage my dotfiles and maybe get some ideas for how to manage your own.
The actual dotfiles exist under the home directory specified in the .chezmoiroot.
See .chezmoiroot - chezmoi more detail on the setting.
Ensure required software is installed before proceeding. There are many ways to install Chezmoi. Check the official documentation for the most up-to-date instructions.
docker build -t chezmoi . --build-arg USERNAME="$(whoami)"
docker run -it -v "$(pwd):/home/$(whoami)/.local/share/chezmoi" chezmoi /bin/bash --loginTo install chezmoi and these dotfiles in a single command run the following:
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply kedwardsAfter Chezmoi is installed, use the following commands.
# Initialize chezmoi configuration and apply the dotfiles (first run)
chezmoi init kedwards
# Check for common problems.
chezmoi doctor
# Update dotfiles from the source directory.
chezmoi apply
# Pull the latest changes from your remote repo and runs chezmoi apply.
chezmoi update