Skip to content

Feature request: cli tab completions for bash, fish, and zsh #1515

@gitmpr

Description

@gitmpr

Generating shell completion scripts by introspecting the Go code should be fairly straightforward, especially using popular libraries like Cobra. It would be great to have
source <(opencode completions $SHELL)
for easy shell integration. I’d be happy to help create a PR for this if core feature contributions weren’t restricted by the README guidelines.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions