Following the commands.
- Use brew to install : brew install bash-completion
- Run : $source $(brew –prefix)/etc/bash_completion
- Run : oc completion bash > bash_completion.sh
- Run: source bash_completion.sh
For further information run `oc completion -h` and/or check <https://www.mankier.com/1/oc-completion>