You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most other commands I want completion for has a sub-command to output the completion script. For example kubectl has this so all I need to add in my .zshrc is this:
source<(kubectl completion zsh)
I cannot find this kind of command for kubectx, instead I need a lot of manual steps to set this up and it also becomes hard to setup when using shared dotfiles across machines as it requires copying the completion scripts and making symlinks etc.
The text was updated successfully, but these errors were encountered:
@jonaskello ideally the package manager you are using to install kubectx should be installing the completion script (it does for Homebrew, for example).
Maybe with Go implementation we can embed such completion files to a hidden subcmd like you described as well, so I'll keep this as a feature request.
Most other commands I want completion for has a sub-command to output the completion script. For example
kubectl
has this so all I need to add in my.zshrc
is this:I cannot find this kind of command for kubectx, instead I need a lot of manual steps to set this up and it also becomes hard to setup when using shared dotfiles across machines as it requires copying the completion scripts and making symlinks etc.
The text was updated successfully, but these errors were encountered: