Open Code on Windows 使用 git bash 作为默认 shell
目前在项目中逐步使用 claude code 和 open code 配合国产 minimax 模型,进行代码开发。 open code 在开源开放,原生支持大多数模型提供商,这两个特点上,给我留下深刻印象。 但是一直有个很影响使用的问题,就是 open code 将 powershell 作为 windows 的 first class shell,但是其兼容性做的并没有 claude code 那么好。 时不时它会执行一些 unix specific 指令,例如 head, ls -la 这类。和 powershell 并不完全兼容。它会卡一下,报出执行错误,然后幡然醒悟,切换到其他可以执行的命令。 ...