I followed the instructions for installing Bash completion as given by kubectl completion -h
:
- I installed
bash-completion
via Homebrew - In my
~/.bashrc
, I first sourcebash-completion
then output from the completion kubectl subcommand:source $(brew --prefix)/etc/bash_completion
source <(kubectl completion bash)
With these in place, I start up a new shell but the completion doesn't work. How do I get it working?