cancel
Showing results for 
Search instead for 
Did you mean: 
PatrykBe777
Flight Engineer
Flight Engineer
  • 2,869 Views

OC client "tab completion" setup for windows/power shell.

Hi Team,

 

Due to mine HW limiations I had to install CRC on Windows. Is there any way to install oc "tab completion" for CodeReadyContainers i.e for Windows cmd or powershell ? I am aware how to set this is up for Linux but not Windows. Is there a chance to achieve that?

 

Best regards,

Patryk

Labels (1)
0 Kudos
2 Replies
AlejandroC
Mission Specialist
Mission Specialist
  • 2,818 Views

Hey Patryk,

The oc completion is compatible with bash or zsh. To the best of my knowledge, the only option for using oc completion in windows would be using the "Windows subsystem for Linux", which provides a bash terminal.

Hope that helps!

0 Kudos
ricardo_jun
Moderator
Moderator
  • 1,440 Views

I know this is an old thread but the latest version of oc supports autocompletion with Powershell:

 

https://docs.openshift.com/container-platform/4.10/cli_reference/openshift_cli/developer-cli-command...

 

Join the discussion
You must log in to join this conversation.