[OpenShift] – How to allow auto shell completion for Minishift installation on MacOSx?

Following the commands.

  1. Use brew to install : brew install bash-completion
  2. Run : $source $(brew –prefix)/etc/bash_completion
  3. Run : oc completion bash > bash_completion.sh
  4. Run: source bash_completion.sh

For further information run `oc completion -h` and/or check <https://www.mankier.com/1/oc-completion>

 

Leave a comment