Skip to content

Document oh-my-zsh workaround for completion support #716

@diminutivesloop

Description

@diminutivesloop

Describe the bug

After following the instructions for enabling shell completion I still can’t get the completion functionality to work. I’ve tried both the eval and Homebrew options. I’m on Mac OS 10.15.4 using zsh with Oh My Zsh and gh version 0.6.2.

Steps to reproduce the behavior

  1. Add the Homebrew completion snippet to .zshrc. and open a new terminal.
  2. Type gh
  3. Press Tab
  4. Run eval "$(gh completion -s zsh)”
  5. Repeat steps 2-3

Expected vs actual behavior

I expect to see completion options for gh commands but instead I get my shell’s standard file path completion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions