t-configs
Personal dotfiles and system configuration. Clone once, run the install script, and you're set up.
Quick Start
git clone [email protected]:tseitz/t-configs.git ~/t-configs
cd ~/t-configs
./install.sh
The install script is idempotent — safe to run multiple times. It will:
- Install Homebrew (if not already installed) — skipped on Arch
- Install all packages from the
Brewfile (Pacfile via pacman on Arch)
- Install oh-my-zsh with custom plugins (the prompt is starship, not an oh-my-zsh theme)
- Install default runtimes via mise (global tools from
dotfiles/.config/mise/config.toml)
- Symlink dotfiles to their expected locations
- Install every Claude Code plugin marked
true in enabledPlugins (see below)
- Create
.zshrc-env-vars (private secrets) and .zshrc-local (machine-specific overrides) from example templates
Work machines
Work-only plugins and marketplaces live in dotfiles/.claude/settings.work.json and apply only where the gitignored dotfiles/.work-machine marker exists:
./install.sh --work # mark this a work machine — once, then sticky
Pass it on the first install of a work machine. Personal machines never see the work set. The marker is deliberately explicit rather than read off .gitconfig-work, which install.sh seeds with a placeholder email in the same step that seeds settings.json — so at first-install time it always looks personal.
On a machine that's already set up
Use --check and --sync instead of a bare ./install.sh:
./install.sh --check # report drift, change nothing
./install.sh --sync # non-interactive, add-only: create what's missing
./install.sh --links # symlinks only (incl. per-skill links), add-only, non-interactive
--check audits every symlink, lists dangling links and stale .bak files, diffs the installed Claude plugins against the wanted list, and runs brew bundle check.
The wanted list is enabledPlugins in settings.base.json (plus settings.work.json on a work machine) — every key set to true. dotfiles/.claude/plugins/installed_plugins.json is not it: that file is Claude Code's runtime state, holding absolute install paths and git SHAs, and it is gitignored, so a fresh clone never had it and step 6 silently installed nothing.
--sync runs every step non-interactively but refuses the single destructive branch in create_symlink: where a real file — or a link to somewhere else — already occupies a destination, it reports the drift and leaves it alone rather than moving it to .bak. So --sync can only ever add. Run a bare ./install.sh when you actually want the repo copy to take over a destination that has local content; that path backs the original up first, to a .bak name that doesn't already exist.
Other flags: --yes (non-interactive, destructive branch enabled), --dry-run (list steps only), --verbose (also print already-correct symlinks, which are otherwise summarised as a count).
create_symlink skips any source that isn't present in the repo, so link lines for files you haven't added yet are inert rather than producing dangling symlinks — add the file and the link starts working with no script edit.
Private Environment Variables
Secrets and API keys live in dotfiles/.zshrc-env-vars, which is gitignored.
On a fresh machine, the install script creates this file from the example template. Fill in your values:
nvim ~/t-configs/dotfiles/.zshrc-env-vars
See dotfiles/.zshrc-env-vars.example for the full list of supported variables.
Machine-Specific Overrides
Per-machine customizations (e.g. different PATH entries, tool versions) go in dotfiles/.zshrc-local, which is gitignored.
This file is sourced last in .zshrc, so anything in it overrides or extends the shared defaults. On a fresh machine, the install script creates it from the example template:
nvim ~/t-configs/dotfiles/.zshrc-local
See dotfiles/.zshrc-local.example for examples.
Editor Settings
dotfiles/.config/editors/settings.json holds the VS Code User settings and is symlinked into place. To pull your current settings into the repo:
- macOS:
cp ~/Library/Application\ Support/Code/User/settings.json ~/t-configs/dotfiles/.config/editors/settings.json
- Linux:
cp ~/.config/Code/User/settings.json ~/t-configs/dotfiles/.config/editors/settings.json
The file sits under .config/editors/ rather than .config/Code/ so a second editor can share the same source without moving it — add one create_symlink line in install.sh pointing at it.
Agent Skills