Skip to content

[Help] make completion for eksctl anywhere zsh work - is it a bug or have I installed it wrong? #8221

Open
@tomor

Description

@tomor

What help do you need?

I'd like completions for eksctl anywhere in zsh to work.

Current output when I hit tab

eksctl anywhere <tab>
eksctl anywhere flags\ cannot\ be\ placed\ before\ the\ anywhere\ command

What I've done:

I've installed eksctl via brew:

brew install aws/tap/eks-anywhere

as described in https://anywhere.eks.amazonaws.com/docs/getting-started/docker/

Then I wanted to enable autocompletions for it, so I've done:

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

then added this to my ~/.zshrc

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

Opened a new terminal window.

eksctl completions work, but for eksctl anywhere not.

Environment

eksctl version
0.204.0-dev+b073ca55e.2025-02-13T20:01:47Z
zsh --version
zsh 5.9 (arm-apple-darwin24.0.0)

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