I followed the instructions for installing Bash completion as given by kubectl completion -h:
- I installed
bash-completionvia Homebrew - In my
~/.bashrc, I first sourcebash-completionthen output from the completion kubectl subcommand:source $(brew --prefix)/etc/bash_completionsource <(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?