Gwarf's dotfiles
October 29, 2025 ยท View on GitHub
My somewhat messy and ever WIP dotfiles for GNU/Linux, FreeBSD and macOS (mostly legacy now).
Use at your own risk :)
Chezmoi
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.
Initializing
# Initialising chezmoi repository
chezmoi init git@github.com:gwarf/dotfiles.git
# Checking changes
chezmoi diff
# Applying changes
chezmoi apply
Pulling changes
Pulling changes and reviewing them
# Pull latest changes and preview them
chezmoi git pull -- --autostash --rebase && chezmoi diff
# Applying them
chezmoi apply
Pulling changes and apply them without review
# Verbosy pull and apply changes
chezmoi update -v
Pushing changes
If auto-commit is enabled in
~/.config/chezmoi/chezmoi.toml, changes made withchezmoi editare automatically committed.
# Open repository clone location
chezmoi cd
# Check status
git status
git diff
# Commit all changes
git commit -a
# Push changes
git push