Skip to content

Add shell completionsΒ #334

@scaryrawr

Description

@scaryrawr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions