#!/usr/bin/env bash
#
# Completions for kubectl

__garbage __kubectl
__kubectl=$(type -P kubectl)
[ -x "${__kubectl}" ] && source <(${__kubectl} completion bash)

#!/usr/bin/env bash
#
# Completions for kubectl

__kubectl=$(type -P kubectl)
[ -x "${__kubectl}" ] && source <(${__kubectl} completion bash)
unset __kubectl

Remove __garbage from completion scripts
Remove __garbage from completion scripts

User completion scripts can be sourced by the system, where the
__garbage function is not yet available.
