vim ~/.bashrc

# after the adding export PATH="$PATH:$HOME/bin"

source <(kubectl completion bash)