#shellcheck disable=1090,2039,SC2148 if [ "${BASH_VERSION}" != "" ] && [ "$(ps -p $$ -ocomm=)" != sh ]; then source <(kubectl completion bash) fi if [ "${ZSH_VERSION}" != "" ]; then autoload -U +X compinit && compinit source <(kubectl completion zsh) fi