Skip to content

rsutton1/dotfiles

Repository files navigation

dotfiles

This repo stores my dotfiles. Managed by chezmoi .

Setup

Install chezmoi and then run these commands:

chezmoi init rsutton1 # configure chezmoi to use this repo
chezmoi diff # see chezmoi's changes before applying them
chezmoi apply # apply the changes

See the chezmoi user guide for more info.

Save changes

Here's how to save changes back into the repo.

chezmoi diff # you should see chezmoi wants to undo your changes
chezmoi add ~/.some_dotfile
chezmoi add salt/files/packages.sls
chezmoi diff # should be no changes
chezmoi cd
git add dot_some_dotfile salt/files/packages.sls
git commit -m "changed some dotfile, changed packages"
git push

Troubleshooting

If the repo was cloned with HTTPS, run this before pushing to use SSH:

$ git remote set-url origin [email protected]:rsutton1/dotfiles.git

About

Dotfiles managed by Chezmoi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published