在Windows上,Atom's Platformio-Ide-Terminal的默认终端是Powershell (至少,这是我在没有任何配置的情况下得到的)。
我更喜欢使用unix类型命令的终端。我已经安装了MINGW和CYGWIN。
如何避免打开Powershell而打开另一种终端类型?
发布于 2017-02-16 23:16:24
在以下位置设置默认Terminal>>Settings>>Shell : Edit>>Settings>>Packages>>Platformio Ide shell覆盖
您可以使用git的bash作为建议的here,因为您可能已经安装了git。
C:\Program Files\Git\bin\bash.exe发布于 2018-07-15 21:26:21
逐步解决方案
根据您的终端需求放置以下行
对于cmd- C:\\WINDOWS\\System32\\cmd.exe
对于Power Shell- C:\\WINDOWS\\Sysnative\\WndowsPowerShell\\v1.0\\powershell.exe
用于bash- C:\\Program Files\\Git\\bin\\bash.exe或C:\\Windows\\System32\\bash.exe (取决于安装bash的方式)。请确保已将bash安装到您的计算机中。
现在,您可以使用platformio作为终端将bash、cmd、git bash、Power Shell集成到Atom中。
发布于 2018-03-22 06:51:02
对于CYGWIN用户,以下位置的bash可执行文件已被证明对设置shell覆盖Settings >> Packages >> Platformio Ide Terminal >> Settings >> Shell Override很有用
C:\cygwin64\bin\bash.exehttps://stackoverflow.com/questions/42277302
复制相似问题