Skip to content

Error when using cli autocomplete on zsh  #1703

Description

@toby-griffiths

Describe the bug

Error when using zsh autocomplete on brew installed version of CLI on Mac (gh version 0.12.0 (2020-09-08))

Steps to reproduce the behavior

  1. Type this 'gh pr [tab]' or 'gh issue [tab]'

  2. See error…

     _arguments:comparguments:325: invalid option definition: (-R --repo)-R[Select another repository using the `[HOST/]OWNER/REPO` format]:
    

Expected vs actual behavior

I would expect this to display the autocomplete options for the command in question. Up until recently this has worked fine. I believe I updated recently, but can't be certain.

May be an issue specific to me, but unsure how to tell, or debug.

Logs

Unsure where to access logs.

Activity

  1. changed the title [-]Error when using cli[/-] [+]Error when using cli autocomplete on zsh [/+] on Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions