kubectx icon indicating copy to clipboard operation
kubectx copied to clipboard

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

Open smktpd opened this issue 1 year ago • 1 comments

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 avatar Nov 23 '23 13:11 smktpd

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

smktpd avatar May 07 '24 14:05 smktpd