My dotfile setup, managed with chezmoi.
First, install chezmoi
:
brew install chezmoi
Then clone and apply dotfiles:
chezmoi init https://github.com/bhoggard/dotfiles.git
chezmoi apply
Add files:
chezmoi add ~/.zshrc
Edit and apply:
chezmoi edit ~/.zshrc
chezmoi diff
chezmoi -v apply
Commit files and return to prompt:
chezmoi cd
git add dot_zshrc
git commit -m "Add .zshrc"
exit
Update latest with:
chezmoi update
NOTE: Once dotfiles are cloned and applied,
chezmoi
has been aliased toch
.