Issue
Goal: use Git Bash as Terminal in PyCharm.
How can I have a normal Bash with Git integrated Terminal in PyCharm?
File path for Git Bash: C:\Users\me\AppData\Local\Programs\Git\git-bash.exe --cd-to-home
.
I apply Git Bash in PyCharm Settings:
However, when I click New Session
(new Terminal +
), it launches as a Window:
Solution
You are pointing at git-bash.exe
, which is wrong. You should point at bash.exe
which is located inside the bin folder. So your Shell path should be:
"C:\Users\<username>\AppData\Local\Programs\Git\bin\bash.exe" --login
using
"C:\Users\<username>\AppData\Local\Programs\Git\bin\sh.exe" --login
would also work. Also works without --login
. Make sure the "
are there.
Answered By - M B
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.