Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zsh completions throws an error #719

Closed
jecnua opened this issue Jul 18, 2019 · 5 comments
Closed

zsh completions throws an error #719

jecnua opened this issue Jul 18, 2019 · 5 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@jecnua
Copy link

jecnua commented Jul 18, 2019

Hi all,

What happened:

The kind zsh completions throws and error when you try to use it.

What you expected to happen:

I expect the completions to work :)

How to reproduce it (as minimally and precisely as possible):

kind completion zsh > /usr/local/share/zsh/site-functions/_kind
autoload -U compinit && compinit
kind<TAB>

Environment:

  • kind version: (use kind version): v0.3.0
  • Kubernetes version: (use kubectl version): v1.15.0
  • Docker version: (use docker info): 19.03.0-rc2
  • OS (e.g. from /etc/os-release): Darwin xxx 18.6.0 Darwin Kernel Version 18.6.0
zsh --version
zsh 5.3 (x86_64-apple-darwin18.0)
brew info zsh-completions
zsh-completions: stable 0.30.0, HEAD

Let me know if I can help with more info.

@jecnua jecnua added the kind/bug Categorizes issue or PR as related to a bug. label Jul 18, 2019
@aojea
Copy link
Contributor

aojea commented Jul 18, 2019

is this a duplicate of #522?

@jecnua
Copy link
Author

jecnua commented Jul 18, 2019

No. I have read the other ticket before. That is just asking for a way to source the autocomplete in zsh :) This problem I have is following the normal way that is shown in:

kind completion -h

@BenTheElder
Copy link
Member

This is unfortunate. The zsh completions are auto generated by a dependency (https://github.com/spf13/cobra), I think they've been generally problematic upstream :/

@BenTheElder
Copy link
Member

ref: #729

@BenTheElder
Copy link
Member

I think #729 documented this (please correct me, I don't use zsh...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants