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

Shell completions (for zsh) fail for kubectx if its binary is renamed to kx #408

Open
smktpd opened this issue Nov 23, 2023 · 1 comment

Comments

@smktpd
Copy link

smktpd commented Nov 23, 2023

If I mv kubectx kctx (or ln -s kubectx kctx) - then shell completions work fine for kctx {TAB}.
But if I mv kubectx kx (or ln -s kubectx kx) - then shell completions fail for kx {TAB}.

The name by which I address the very same binary shouldn't affect this functionality.
kubectx v0.9.5

@smktpd
Copy link
Author

smktpd commented May 7, 2024

I added kx=kubectx to this line and removed ~/.zcompdump (for it to get regenerated) and that way kx completion started to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant