[WebStrom] Change default cmd to Cygwin

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.

 

posted @ 2015-11-13 01:57  Zhentiw  阅读(250)  评论(0编辑  收藏  举报