Skip to content

1.1.0 update to 1.3.0 zsh autocomplete failed #2515

Description

@huangnauh

Describe the bug

1.1.0 update to 1.3.0 autocomplete failed

Steps to reproduce the behavior

gh --version
gh version 1.3.0

gh completion -s zsh > ~/.oh-my-zsh/completions/_gh

image

Expected vs actual behavior

gh --version
gh version 1.1.0

gh completion -s zsh > ~/.oh-my-zsh/completions/_gh

image

Activity

  1. changed the title [-]Autocomplete failed[/-] [+]1.1.0 update to 1.3.0 autocomplete failed[/+] on Dec 1, 2020
  2. changed the title [-]1.1.0 update to 1.3.0 autocomplete failed[/-] [+]1.1.0 update to 1.3.0 zsh autocomplete failed[/+] on Dec 1, 2020
  3. huangnauh commented on Dec 1, 2020

    @huangnauh
    Author

    in zsh 5.0.2

    image

    after update zsh 5.8 autocomplete works

    image

    image

  4. mislav commented on Dec 1, 2020

    @mislav
    Contributor

    @huangnauh Thank you for reporting!

    I cannot reproduce with gh 1.3.0 and zsh 5.7.1. What version of zsh do you have?

    Can you try without loading oh-my-zsh, i.e. with a zshrc that contains only:

    autoload -U compinit
    compinit -i
    

    You will have to first move _gh to somewhere in $fpath, since ~/.oh-my-zsh/completions will not be in fpath.

  5. mislav commented on Dec 1, 2020

    @mislav
    Contributor

    Ah now I see your update about zsh 5.0. It seems that we require a newer version of zsh than that. Thank you for checking!

    Keeping this open until we add some note about this to our docs.

  6. added and removed
    bugSomething isn't working
    on Dec 1, 2020
  7. added
    coreThis issue is not accepting PRs from outside contributors
    on Dec 14, 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

    coreThis issue is not accepting PRs from outside contributorsdocs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions