Commit a46b04dc authored by Kazuki Suda's avatar Kazuki Suda

Support context completion for kubectl config use-context

With this commit, kubectl is supported context completion for config use-context. ``` $ ./kubectl config use-context cluster01 minikube ``` /refs #42103, #29386
parent 2249550b
......@@ -170,6 +170,10 @@ __custom_func() {
__kubectl_get_resource_node
return
;;
kubectl_config_use-context)
__kubectl_get_contexts
return
;;
*)
;;
esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment