Skip to content

zsh completions can't be sourced #522

@mikewl

Description

@mikewl

What happened:
Running source <(kind completion zsh) fails with the following error

_arguments:comparguments:325: can only be called from completion function
_arguments:comparguments:325: can only be called from completion function

What you expected to happen:
The completions to import and be available

How to reproduce it (as minimally and precisely as possible):
Run source <(kind completion zsh) in zsh

Anything else we need to know?:

Environment:

  • zsh version: zsh 5.7.1 (x86_64-apple-darwin18.2.0)
  • kind version: (use kind version): 0.3.0-alpha
  • Kubernetes version: (use kubectl version): 1.14
  • Docker version: (use docker info): 18.09.2
  • OS (e.g. from /etc/os-release): MacOS 10.14

Metadata

Metadata

Assignees

Labels

help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions