[WebStrom] Change default cmd to Cygwin

时间:2021-08-16 18:34:06

GO to setting, search Terminal:

Change shell path :

C:\cygwin\bin\bash.exe --login -i    (to the local which you install cygwin)

Change the default pwd to the proejct path:

Fnd the bash.bashrc file in the cygwin/etc folder,

add one line at the bottom:

cd "$OLDPWD"

Save and reopen the termail in Webstrom.