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