oc bash-completion problem in RHOCP4

Solution Verified - Updated -


  • oc bash-completion problem on oc project command
# oc proj[TAB]
  ├> oc project [TAB]
  | Here it should print project names. But below output obtained
  ├> oc project project
  └> oc project project [TAB]
  • The oc cli should print the project names when pressing TAB after "oc project [TAB]" command.


  • Red Hat OpenShift Container Platform in 4.10.10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content