config-bash/completion.d/kubectl

7 lines
94 B
Plaintext
Raw Normal View History

#!/bin/bash
if (command -v kubectl &> /dev/null)
then
source <(kubectl completion bash)
fi