copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

Add shell completions

Open scaryrawr opened this issue 3 months ago • 1 comments

Describe the feature or problem you'd like to solve

Add support for generating tab completion for shells

Proposed solution

Many tools have some command like:

copilot completion zsh

Where it will output completions for integration with the user's shell, so in .zshrc or powershell $PROFILE you could add something like:

eval "$(copilot completion zsh)"

And get tab completion for things like:

copilot --al # hit tab to complete --allow-all-tools

Example prompts or workflows

No response

Additional context

No response

scaryrawr avatar Oct 16 '25 18:10 scaryrawr

Agreed, we definitely need to do this. Will raise it for the next planning cycle.

EvanBoyle avatar Oct 27 '25 13:10 EvanBoyle