[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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s