c3p completions
c3p completions <shell> prints a static shell-completion script to stdout.
Source it in your shell’s startup file (or eval it inline) to enable
tab-complete for verbs, --flags, and profile names on commands like use,
diff, validate, and sync.
Profile names are read from .claude-profiles/ at tab-time — no daemon,
no state-file reads.
c3p completions — emit a shell completion script (bash | zsh | fish)
USAGE c3p completions <shell>
DESCRIPTION Prints a static completion script to stdout. Source the output in your shell's startup file (or eval it inline) to enable tab-complete for verbs, --flags, and profile names on `use`/`diff`/`validate`/ `sync`. Profile names are read from `.claude-profiles/` at tab time; no daemon, no state-file reads.
GLOBAL OPTIONS --cwd=<path> project root (default: cwd) --json machine-readable output (silences human output) --quiet, -q silence human output (preserves errors + exit codes); incompatible with --json
EXAMPLES c3p completions zsh > ~/.zfunc/_c3p eval "$(c3p completions bash)" c3p completions fish > ~/.config/fish/completions/c3p.fish
EXIT CODES 0 success 1 bad argv (missing shell, unsupported shell)Example
Section titled “Example”# bash — eval inlineeval "$(c3p completions bash)"
# zsh — install into your fpathc3p completions zsh > ~/.zfunc/_c3p
# fish — install into the system completion dirc3p completions fish > ~/.config/fish/completions/c3p.fishSee also
Section titled “See also”- Quickstart — typical first-time setup
c3p use/c3p diff/c3p validate/c3p sync— the verbs whose profile-name argument benefits from tab-complete- Profile concept — what tab-complete
enumerates from
.claude-profiles/