Closed
Description
- install minkube
- add alias kubectl='minikube kubectl --' to .bashrc
- add source <(kubectl completion bash) to .bashrc
result:
only the commands get tab-completed, nothing after that.
the underlying issue is this:
$ minikube kubectl __completeNoDesc get p
Error: flags cannot be placed before plugin name: --cluster
this works however:
~/.minikube/cache/linux/v1.22.3/kubectl __completeNoDesc get p
related to this: kubernetes/kubectl#884