chezmoi-managed dotfiles for macOS and Linux.
# Install chezmoi and apply dotfiles in one step:
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply lciel/dotfilesYou'll be prompted for:
- Full name — used in
.gitconfig - Git email — used in
.gitconfig - GPG signing key — leave empty to disable commit signing
./install.sh
# or manually:
chezmoi init --source ~/path/to/this/repo
chezmoi applybrew bundle install --file=osx/BrewfileHandled automatically by run_once_install-packages-linux.sh.tmpl on first chezmoi apply.
chezmoi edit ~/.zshrc # Edit a managed file (opens source)
chezmoi apply # Apply source changes to home
chezmoi add ~/.zshrc # Pull home edits back into source
chezmoi diff # Preview pending changes
chezmoi update # git pull + apply| Category | Key files |
|---|---|
| Shell | dot_zshrc.tmpl, dot_config/sheldon/plugins.toml |
| Git | dot_gitconfig.tmpl, dot_gitignore_global |
| Neovim | dot_config/nvim/init.lua, lua/ |
| Tmux | dot_tmux.conf.tmpl (prefix: Ctrl+T) |
| Runtime | dot_config/mise/config.toml (Node, Python, Go via mise) |
| Claude Code | dot_claude/settings.json, dot_claude/skills/ |
Files ending in .tmpl are rendered by chezmoi at apply time. OS-specific logic (macOS vs Linux) and user-specific values (email, GPG key) are handled here.