Search code examples
cygwinwebstorm

cygwin open current folder from webstorm 9


I have set my shell as cygwin instead of the cmd.exe in Windows 8 using WebStorm 9 IDE.

But it opens the console at the default path ~, how can I somehow specify it to open the current IDE root folder? Is it possible to send any parameter or something?


Solution

  • Answer found there (thanks to @aikeru)

    Open Cygwin command in specified directory on windows

    Basically just set the shell path to: your_cygwin64_path\bin\env.exe CHERE_INVOKING=1 /bin/bash -l

    And make sure that you don't use a cd command from your .bashrc as well.