Windows: use Cygwin bash, not Powershell

Resolved 💬 4 comments Opened Jan 23, 2026 by alainfrisch Closed Mar 7, 2026

What feature would you like to see?

I start Codex from a Cygwin bash, and I'd like it to use that shell, not Powershell. This will in particular allow sharing permission rules with those used under WSL.

Btw, currently the rules are all like:

prefix_rule(pattern=["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", "-Command", "FULL COMMAND"], decision="allow")

which is pretty useless (the full command is just the 2nd argument to powershell -> no way to specify a useful "prefix" of the argument list)

Additional information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗