ansible-role--bashrc/files/bashrc.d/99-completion-kubectl.sh

6 lines
79 B
Bash
Raw Permalink Normal View History

2021-12-31 12:03:38 +00:00
if hash kubectl >/dev/null 2>&1 ; then
eval "$(kubectl completion bash)"
fi