formatted kubectl completion and used helper function
parent
c9e977d1c3
commit
332246a218
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue