Skip to content
/ dotfiles Public

My dotfiles for GNU/Linux, FreeBSD and macOS. Managed using chezmoi. Fish, Mutt/Neomutt, neovim, tmux, ...

Notifications You must be signed in to change notification settings

gwarf/dotfiles

Repository files navigation

gwarf's dotfiles

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

Use at you own risk :)

Chezmoi

Everything is managed using chezmoi.

Some files or configuration parts are only avaible for GNU/Linux, FreeBSD, or macOS.

OS packages are installed via a packages.yaml and using run_onchange_install-packages.sh.

Initialising

# 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 autocomit is enabled in ~/.config/chezmoi/chezmoi.toml, changes made with chezmoi edit are automatically committed and pushed

# Open repository clone location
chezmoi cd
# Check status
git status
git diff
# Commit all changes
git commit -a
# Push changes
git push