Personal dotfiles managed with chezmoi.
Run this single command on a fresh machine. It installs chezmoi, pulls this repo, and applies everything:
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply johnfernkasYou'll be prompted for your name and email (used in ~/.gitconfig). After that, the bootstrap scripts will run automatically in order:
- Prerequisites — installs Homebrew and oh-my-zsh
- Packages — runs
brew bundleto install all apps and tools - macOS defaults — sets Dock, Finder, screenshot, and keyboard preferences
Before running: Sign into the Mac App Store. Xcode (~12 GB) is installed via
masand requires an active App Store session.
If Xcode was skipped (not signed in), install it from the App Store then run:
bash ~/.local/share/chezmoi/scripts/setup-xcode.shOn an existing machine, pull and apply the latest changes with:
chezmoi updateEdit the dot_Brewfile and run chezmoi apply. The package script re-runs automatically whenever the Brewfile changes.
chezmoi edit ~/.zshrc # edit a managed file in your $EDITOR
chezmoi diff # preview what would change before applying
chezmoi apply # apply changes to the home directory
chezmoi update # pull latest from GitHub and apply
chezmoi cd # jump to the chezmoi source directory| File | Destination |
|---|---|
dot_gitconfig.tmpl |
~/.gitconfig |
dot_zshrc.tmpl |
~/.zshrc |
dot_Brewfile |
~/.Brewfile |