Eksctl: zsh shell completion not working

Created on 31 Oct 2019  路  2Comments  路  Source: weaveworks/eksctl

What happened?

I am trying to use zsh shell completion like described in the documentation but somehow it does not work

What you expected to happen?
I expected that I could write eksctl and use tab in the terminal

How to reproduce it?

Here is what I tried so far:
Ran this

mkdir -p ~/.zsh/completion/
eksctl completion zsh > ~/.zsh/completion/_eksctl

then I put this in my .zshrc file

# eksctl
fpath=($fpath ~/.zsh/completion)

I already had this in the .zshrc file:

autoload -U compinit
compinit

Anything else we need to know?
I'm using macos 10.14.6 (18G87), installed eksctl with brew and using aws credentials trough profiles and aws config

Versions
Please paste in the output of these commands:

$ eksctl version
[鈩筣  version.Info{BuiltAt:"", GitCommit:"", GitTag:"0.7.0"}
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.1", GitCommit:"b7394102d6ef778017f2ca4046abbaa23b88c290", GitTreeState:"clean", BuildDate:"2019-04-08T17:11:31Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.6-eks-5047ed", GitCommit:"5047edce664593832e9b889e447ac75ab104f527", GitTreeState:"clean", BuildDate:"2019-08-21T22:32:40Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}

Logs
no applicable

kinbug

Most helpful comment

Same problem (zsh completion just simply doesn't work)

eksctl version
[鈩筣 version.Info{BuiltAt:"", GitCommit:"", GitTag:"0.13.0"}

This ticket should be re-opened

All 2 comments

Seems that it works with the following version 0.11.1

Same problem (zsh completion just simply doesn't work)

eksctl version
[鈩筣 version.Info{BuiltAt:"", GitCommit:"", GitTag:"0.13.0"}

This ticket should be re-opened

Was this page helpful?
0 / 5 - 0 ratings