How To Manage Dotfiles With Chezmoi

A fast information to managing dotfiles for the lazy

Picture by Gabriel Heinzer on Unsplash


1. Making a GitHub repository

2. Set up

sh -c "$(curl -fsLS"

3. Init

4. Including your first dotfile

# This can copy ~/.zshrc to our supply listing at ~/.native/share/chezmoi/dot_zshrc
chezmoi add ~/.zshrc
chezmoi cd # Identical as operating cd ~/.native/share/chezmoi/dot_zshrc

5. Committing and pushing to GitHub

git distant add origin 
git department -M major
git add .
git commit -m "<Preliminary commit message>"
git push -u origin major

More Posts