Personal dotfiles managed with chezmoi. Currently supports macOS.
First, install Xcode Command Line Tools (required for chezmoi):
xcode-select --installThen initialize chezmoi:
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply --purge-binary gabrielfortunyThis will:
- Prompt for a hostname (e.g.
my-macbook-pro) - Install Homebrew
- Configure Git with SSH commit signing via 1Password
- Configure SSH to use 1Password agent
- Apply macOS system preferences
- Install Homebrew packages from
home/.chezmoidata/packages.yaml - Install VS Code extensions from
home/.chezmoidata/vscode.yaml
chezmoi add ~/.config/foo # copy a file from home directory → working copy
chezmoi edit ~/.config/foo # edit a file in the working copy
chezmoi edit --apply # edit working copy and sync to home directory on quit
chezmoi diff # preview working copy → home directory diff
chezmoi apply # sync working copy → home directory
chezmoi cd # cd into working copy to commit/push to remote repo
chezmoi update # pull remote repo → local repo and sync to home directory