My somewhat messy and ever WIP dotfiles for GNU/Linux, FreeBSD and macOS.
Use at your own risk :)
Everything is managed using chezmoi.
Some files or configuration parts are only available for GNU/Linux, FreeBSD, or macOS.
OS packages are installed via a packages.yaml and using run_onchange_install-packages.sh.
# Initialising chezmoi repository
chezmoi init git@github.com:gwarf/dotfiles.git
# Checking changes
chezmoi diff
# Applying changes
chezmoi apply
# Pull latest changes and preview them
chezmoi git pull -- --autostash --rebase && chezmoi diff
# Applying them
chezmoi apply
# Verbosy pull and apply changes
chezmoi update -v
If auto-commit is enabled in
~/.config/chezmoi/chezmoi.toml
, changes made withchezmoi edit
are automatically committed.
# Open repository clone location
chezmoi cd
# Check status
git status
git diff
# Commit all changes
git commit -a
# Push changes
git push