Enable completion for kubectl config delete-context

This enables shell completion for `delete-context`, which will suggest
context names, similarly to the `use-context` and `rename-context`
subcommands.
This commit is contained in:
Bilal Amarni 2020-05-01 17:39:24 +02:00
parent 5a4aa2026c
commit 81867fd1d9

View File

@ -270,7 +270,7 @@ __kubectl_custom_func() {
__kubectl_get_resource_node
return
;;
kubectl_config_use-context | kubectl_config_rename-context)
kubectl_config_use-context | kubectl_config_rename-context | kubectl_config_delete-context)
__kubectl_config_get_contexts
return
;;