Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,11 @@ core plugins aliases mise wt path agent-vault (+ commands/ai)
- `mise` / `wt` / `path` — runtime version manager, worktrunk integration, PATH additions
- `agent-vault` — credential-broker client env + `avc`/`av` wrappers (see below)

compinit runs once in `.zshrc` (brew completions fpath is set before it). Tool-managed blocks
(OpenSpec, Kiro CLI pre/post, bun, Antigravity) are kept in `.zshrc` as-is.
compinit runs once in `.zshrc` (brew completions fpath is set before it), so any brew formula
that ships a zsh completion (e.g. `openspec`) is picked up with no extra wiring. Tool-managed
blocks (Kiro CLI pre/post, bun, Antigravity) are kept in `.zshrc` as-is. The old
`# OPENSPEC:START/END` block was removed: it pointed fpath at the deleted oh-my-zsh tree, and
its `compinit` is now the plain, unmarked one. OpenSpec itself is installed by the Brewfile.

## Secrets (never committed)

Expand Down
1 change: 1 addition & 0 deletions dot_config/brew/Brewfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ brew "git-absorb"
brew "go"
brew "mise"
brew "nx"
brew "openspec" # spec-driven dev CLI; pulls Homebrew node; zsh completion via site-functions
brew "jq"
brew "pandoc"
brew "gnupg"
Expand Down
5 changes: 1 addition & 4 deletions dot_zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,9 @@ if [[ -n "$HOMEBREW_PREFIX" && -d "$HOMEBREW_PREFIX/share" ]]; then
fpath=("$HOMEBREW_PREFIX/share/zsh/site-functions" "$HOMEBREW_PREFIX/share/zsh-completions" $fpath)
fi

# OPENSPEC:START
# OpenSpec shell completions configuration
fpath=("$HOME/.oh-my-zsh/custom/completions" $fpath)
# --- Completion init (the single compinit; fragments below rely on it) ---
autoload -Uz compinit
compinit
# OPENSPEC:END

# --- Machine-local secrets (gitignored; NOT in the dotfiles repo) ---
# See ~/.config/.secrets. Holds OP_SERVICE_ACCOUNT_TOKEN + API keys.
Expand Down