Command auto completion

Redirect the autocomplete script to a file

$ oc completion zsh > ~/.minishift/zsh_completion

Appended to the.zshrcFile (I use ZSH), and if it’s another shell, add it to the corresponding file.

$ echo ". ~/.minishift/zsh_completion" >> ~/.zshrc

perform

$ . ~/.zshrc

The effect