formatted kubectl completion and used helper function

pull/1782/head
Gurkirat Singh 2021-01-10 19:30:24 +05:30
parent c9e977d1c3
commit 332246a218
No known key found for this signature in database
GPG Key ID: CFD64E1DCB3DA835
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# kubectl (Kubernetes CLI) completion # kubectl (Kubernetes CLI) completion
if command -v kubectl &>/dev/null if _command_exists kubectl
then then
eval "$(kubectl completion bash)" eval "$(kubectl completion bash)"
fi fi