{"action":"created","issue":{"url":"https://api.github.com/repos/git-for-windows/git/issues/96","labels_url":"https://api.github.com/repos/git-for-windows/git/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/git-for-windows/git/issues/96/comments","events_url":"https://api.github.com/repos/git-for-windows/git/issues/96/events","html_url":"https://github.com/git-for-windows/git/issues/96","id":68715264,"number":96,"title":"Detect whether ConEmu/Console2/whatever is installed and offer to use that instead of mintty","user":{"login":"dscho","id":127790,"avatar_url":"https://avatars.githubusercontent.com/u/127790?v=3","gravatar_id":"","url":"https://api.github.com/users/dscho","html_url":"https://github.com/dscho","followers_url":"https://api.github.com/users/dscho/followers","following_url":"https://api.github.com/users/dscho/following{/other_user}","gists_url":"https://api.github.com/users/dscho/gists{/gist_id}","starred_url":"https://api.github.com/users/dscho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dscho/subscriptions","organizations_url":"https://api.github.com/users/dscho/orgs","repos_url":"https://api.github.com/users/dscho/repos","events_url":"https://api.github.com/users/dscho/events{/privacy}","received_events_url":"https://api.github.com/users/dscho/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/git-for-windows/git/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/git-for-windows/git/labels/installer","name":"installer","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":52,"created_at":"2015-04-15T15:36:34Z","updated_at":"2015-05-07T16:09:19Z","closed_at":null,"body":"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.\r\n\r\nHowever, it still requires manual setup by users which is not exactly the user experience I am striving for.\r\n\r\nThere 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.\r\n\r\nHowever, for ConEmu/Console2/whatever support, I will need to know two things *for each terminal emulator*:\r\n\r\n1. how to detect that it is installed on the user's machine (registry setting?)\r\n2. what is the command-line that executes the terminal emulator with a `bash --login -i` running inside. In other words, the equivalent of\r\n```sh\r\n\"usr\\bin\\mintty.exe -i /mingw64/share/git/git-for-windows.ico /usr/bin/bash --login -i\"\r\n```"},"comment":{"url":"https://api.github.com/repos/git-for-windows/git/issues/comments/99924317","html_url":"https://github.com/git-for-windows/git/issues/96#issuecomment-99924317","issue_url":"https://api.github.com/repos/git-for-windows/git/issues/96","id":99924317,"user":{"login":"dscho","id":127790,"avatar_url":"https://avatars.githubusercontent.com/u/127790?v=3","gravatar_id":"","url":"https://api.github.com/users/dscho","html_url":"https://github.com/dscho","followers_url":"https://api.github.com/users/dscho/followers","following_url":"https://api.github.com/users/dscho/following{/other_user}","gists_url":"https://api.github.com/users/dscho/gists{/gist_id}","starred_url":"https://api.github.com/users/dscho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dscho/subscriptions","organizations_url":"https://api.github.com/users/dscho/orgs","repos_url":"https://api.github.com/users/dscho/repos","events_url":"https://api.github.com/users/dscho/events{/privacy}","received_events_url":"https://api.github.com/users/dscho/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T16:09:19Z","updated_at":"2015-05-07T16:09:19Z","body":"> In that case, maybe there could be some environment variable or flag that could be set to indicate we should launch directly?\r\n\r\nIt is not possible to change, say, a `.lnk` file to set an environment variable before executing the target executable. Flags would be an option, but I'd rather just embed the information into the `git-bash.exe` file. And indeed, that is exactly what I did... See https://github.com/git-for-windows/build-extra/compare/dbcaef4^...dbcaef4^2"}}