config-bash/completion.d/kubectl

7 lines
91 B
Plaintext
Raw Normal View History

#!/bin/bash
2019-03-19 10:56:58 +01:00
if ( which kubectl ) &> /dev/null
then
source <(kubectl completion bash)
fi