将webstorom/phpstorm的terminal的 cmd.exe修改为git bash

1.找到安装git bash对应的安装目录;列如:

image.png

2.修改编辑器设置;

2.1 找到配置位置:File>>Settings>> tools>> Terminal
2.2 将cmd.exe配置改成(对应你的目录)-> "C:\Program Files\Git\bin\sh.exe" -login -i


image.png

2.3 重启编辑器,使用Alt+F12就可以开启和关闭你的webstorm/phpstorm的terminal

你可能感兴趣的:(将webstorom/phpstorm的terminal的 cmd.exe修改为git bash)