Using chezmoi to share configuration files across multiple systems.
~/.config/chezmoi/chezmoi.toml
[git]
autoCommit = true
autoPush = true
- Edit the file
chezmoi add .crazyconfig
chezmoi apply
chezmoi update
Don't edit the file directly! chezmoi will not track those changes.
chezmoi edit .crazyconfig
chezmoi apply
chezmoi apply .crazyconfig
Set export EDITOR='nvim'
in .zshrc
~/.config/chezmoi/chezmoi.toml
[diff]
command = "delta"
pager = "delta"
- Mac: Homebrew
- Work Windows: In Powershell (not WSL): Scoop
- WSL: not fully migrated yet.