Skip to content

Fix the CLI shell completion command - #799

Merged
vvlladd28 merged 1 commit into
mainfrom
fix/cli-install-completion
Oct 27, 2026
Merged

vvlladd28 merged 1 commit into
mainfrom
fix/cli-install-completion

Conversation

@vvlladd28

Copy link
Copy Markdown
Member

Follow-up to #791 (review comment).

tb --install-completion doesn't take a shell name. The CLI uses Typer with shellingham, so the option is a boolean flag that installs completion for the shell it detects, and exits before a trailing zsh / fish is read. tb --install-completion zsh run from bash installed bash completion.

Affected page: /docs/cli/reference/commands/ → Shell completion. The three per-shell lines become one command.

--install-completion is a boolean flag: it installs completion for the shell it detects and ignores a shell name after it.
@vvlladd28
vvlladd28 merged commit f97a938 into main Oct 27, 2026
4 of 5 checks passed
@vvlladd28
vvlladd28 deleted the fix/cli-install-completion branch October 27, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant