Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 1.23 KB

README.md

File metadata and controls

61 lines (45 loc) · 1.23 KB

Gwarf's dotfiles

My somewhat messy and ever WIP dotfiles for GNU/Linux, FreeBSD and macOS.

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 [email protected]: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 with chezmoi 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