[WebStrom] Change default cmd to Cygwin

GO to setting, search Terminal:

Change shell path : 

C:cygwininash.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.

原文地址:https://www.cnblogs.com/Answer1215/p/4960780.html