Intelli IDEA opens git bash in a separate window than the IDE!!

Answered

Intelli IDEA opens git bash in a separate window than the IDE!!. I configured to use git-bash.exe instead of cmd.exe on my windows box. But IDEA opens in a
new window rather than embedded with the IDE. Take a look at the picture

8
14 comments

What path do you use for the terminal?

c:\Program Files\Git\bin\bash.exe works fine for me.

29

Thanks, that fixed the issue. I was using Git-bash.exe outside bin folder.

7
Avatar
Permanently deleted user

Maybe shout some more @Ramkumar :)

 

@Serge thanks!

0

In Windows 10 you can configure git bash as intellij's terminal like this:

3

When I installed git-bash, it put my bash.exe  in C:\Program Files\Git\git-bash.exe.   I have that in my shell path, along with tab-name = local and all checkboxes checked.   I get my git-bash in a separate window. 

Any fix for this?  PhpStorm 2019.2.3

 

Thanks

-1

Use `c:\Program Files\Git\bin\bash.exe` instead.

5

Serge. I did as you suggested, and it worked. Thank you. 

0

Thank you Serge. This solution worked for me as well.

0

thank you Serge Baranov. it worked for me too

0

I have the same issue with Cmder. My path is the following: "H:\Programmes\cmder\Cmder.exe".

"Programmes" is a folder I created myself. There is no executable in "H:\Programmes\cmder\bin".

 

What can I do?

 

0

Cmder is a GUI terminal app that runs some command line shell (cmd.exe, powershell.exe, bash.exe), it cannot be used directly inside the IDE Terminal. You have to use the shell executable path itself.

1

Serge Baranov Could you edit your first answer and somehow emphasize the `bin` subfolder on the path :)

I did not notice it and I had to reinstall Git twice before I realized that they keep `git-bash.exe` in the root folder and `bash.exe` in the `bin` folder :)

0

Please sign in to leave a comment.