Skip to content

Extension autocomplete is broken #7524

@antalaron

Description

@antalaron

Describe the bug

Since the last update (gh version 2.30.0 (2023-05-30)), the autocomplete for extensions produces weird result, it "autocompletes" the description of the extension, too.

Steps to reproduce the behavior

  1. Install an extension (eg. gh extension install cli/gh-webhook)
  2. Type gh web hit <tab>
  3. See error

Expected vs actual behavior

Expected:

$ gh webhook

Actual:

$ gh webhook  (Extension cli/gh-webhook)

Misc

Tested on macOS and on Ubuntu from official repo, with various extensions installed. The problem appeared in all cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority-2Affects more than a few users but doesn't prevent core functions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions