From https://gist.github.com/shiftkey/add6975be2687d8731ae#comment-1431040 and https://gist.github.com/shiftkey/add6975be2687d8731ae#comment-1432148, it appears that @oysteinkrog and @jaccus figured out ways to run the Git Bash inside ConEmu.
However, it still requires manual setup by users which is not exactly the user experience I am striving for.
There is already support in the Git wrapper (which is used as git-bash.exe, for example) to configure (without recompiling) the command-line to be run after setting up the environment variables. If there is interest, I'll gladly describe the technical details.
However, for ConEmu/Console2/whatever support, I will need to know two things for each terminal emulator:
- how to detect that it is installed on the user's machine (registry setting?)
- what is the command-line that executes the terminal emulator with a
bash --login -i running inside. In other words, the equivalent of
"usr\bin\mintty.exe -i /mingw64/share/git/git-for-windows.ico /usr/bin/bash --login -i"