hacks/provision.workbox/homedir.skel/.local/profile.d/100.kubectl-completion.sh

4 lines
82 B
Bash

if which kubectl 2>&1 > /dev/null ; then
source <(kubectl completion bash)
fi