Dotfiles managed with chezmoi.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"brew install chezmoichezmoi init --apply h3peiYou will be prompted to enter your email address during chezmoi init.
This will automatically:
- Deploy all dotfiles to the home directory
- Create required directories
- Install zinit
This is a set of packages optimized for personal PCs, so installation is optional.
make brew-installfzf must be installed via Homebrew.
$(brew --prefix)/opt/fzf/installEdit files directly in the home directory, then sync changes back to the chezmoi source:
# Edit as usual
vim ~/.zshrc
vim ~/.tmux.conf
# Sync all changes back to source at once
chezmoi re-add
# Or sync a specific file
chezmoi add ~/.zshrcAlternatively, you can edit the source directly via chezmoi edit:
chezmoi edit ~/.zshrc
chezmoi apply# Update Brewfile after adding/removing packages
brew bundle dump --force --file="$(chezmoi source-path)/Brewfile"
# chezmoi apply detects Brewfile changes and runs brew bundle automatically
chezmoi apply