bash-it/completion/available/kubectl.completion.bash

9 lines
138 B
Bash

#!/usr/bin/env bash
# kubectl (Kubernetes CLI) completion
if command -v kubectl &>/dev/null
then
eval "$(kubectl completion bash)"
fi