config-bash/completion.d/kubectl

7 lines
91 B
Plaintext
Raw Normal View History

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