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

[BUG] The hint of zsh completion setup not working #998

Closed
conan-k-chang opened this issue Mar 4, 2022 · 1 comment · Fixed by #1014
Closed

[BUG] The hint of zsh completion setup not working #998

conan-k-chang opened this issue Mar 4, 2022 · 1 comment · Fixed by #1014
Assignees
Labels
bug Something isn't working
Milestone

Comments

@conan-k-chang
Copy link

What did you do

I try to set up zsh completions by doing following:

k3d completion zsh > "/usr/local/share/zsh/site-functions/k3d"

But It is not working until I rename the file from k3d to _k3d.
If it was a bug, maybe we can just modify the document to k3d completion zsh > "${fpath[1]}/_k3d"
here is the source code:

k3d/cmd/root.go

Line 412 in dd07011

$ k3d completion zsh > "${fpath[1]}/k3d"
and
$ k3d completion zsh > "${fpath[1]}/k3d"

Which OS & Architecture

MacOS / amd64

Which version of k3d

k3d version v5.3.0
k3s version v1.22.6-k3s1 (default)
@conan-k-chang conan-k-chang added the bug Something isn't working label Mar 4, 2022
@iwilltry42 iwilltry42 added this to the v5.4.0 milestone Mar 15, 2022
@iwilltry42 iwilltry42 self-assigned this Mar 15, 2022
@iwilltry42 iwilltry42 linked a pull request Mar 15, 2022 that will close this issue
@iwilltry42
Copy link
Member

Good catch, fixed. Thank you @conan-k-chang 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants