We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I set up my system on Mac and found that kubectl autocompletion isn't working:
(eval):1: command not found: _kubectl
Two issues, probably:
$ZSH_CACHE_DIR/completions/_kubectl
No response
OS: darwin23.0 | Vendor: apple | Machine: x86_64 | CPU: arm64 | Processor: arm | Hardware: arm64
zsh 5.9 (x86_64-apple-darwin23.0)
xterm-256color
None
https://github.com/ohmyzsh/ohmyzsh/blob/master/oh-my-zsh.sh#L65 https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/kubectl/kubectl.plugin.zsh#L13
https://github.com/zdharma-continuum/CODE_OF_CONDUCT.md isn't available btw., but I agree to follow ;-)
The text was updated successfully, but these errors were encountered:
Same for me, when use zinit snippet OMZP::docker, related issue in ohmyzsh/ohmyzsh#11866
zinit snippet OMZP::docker
Possible solution, do some thing like ohmyzsh: create $ZSH_CACHE_DIR/completions and add to fpath, refer to https://github.com/ohmyzsh/ohmyzsh/blob/2ef7c73cc884163367279e4b586136e3335b1c53/oh-my-zsh.sh#L56-L57
$ZSH_CACHE_DIR/completions
Sorry, something went wrong.
kubectl plugin is not completion.
e5e588d
Whoops. Completion for the aliases like kj does not work. This might be related to this issue. zdharma-continuum/zinit#652
zinit creinstall -Q ...
-q
vladdoster
No branches or pull requests
What happened?
I set up my system on Mac and found that kubectl autocompletion isn't working:
Two issues, probably:
$ZSH_CACHE_DIR/completions/_kubectl
, but the dir might not exist (didn't, for me)Steps to reproduce
Relevant output
No response
Screenshots and recordings
No response
Operating System & Version
OS: darwin23.0 | Vendor: apple | Machine: x86_64 | CPU: arm64 | Processor: arm | Hardware: arm64
Zsh version
zsh 5.9 (x86_64-apple-darwin23.0)
Terminal emulator
xterm-256color
If using WSL on Windows, which version of WSL
None
Additional context
https://github.com/ohmyzsh/ohmyzsh/blob/master/oh-my-zsh.sh#L65
https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/kubectl/kubectl.plugin.zsh#L13
https://github.com/zdharma-continuum/CODE_OF_CONDUCT.md isn't available btw., but I agree to follow ;-)
Code of Conduct
The text was updated successfully, but these errors were encountered: