{"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":47,"created_at":"2015-04-15T15:36:34Z","updated_at":"2015-05-06T19:36:04Z","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/99582316","html_url":"https://github.com/git-for-windows/git/issues/96#issuecomment-99582316","issue_url":"https://api.github.com/repos/git-for-windows/git/issues/96","id":99582316,"user":{"login":"davux","id":134428,"avatar_url":"https://avatars.githubusercontent.com/u/134428?v=3","gravatar_id":"","url":"https://api.github.com/users/davux","html_url":"https://github.com/davux","followers_url":"https://api.github.com/users/davux/followers","following_url":"https://api.github.com/users/davux/following{/other_user}","gists_url":"https://api.github.com/users/davux/gists{/gist_id}","starred_url":"https://api.github.com/users/davux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davux/subscriptions","organizations_url":"https://api.github.com/users/davux/orgs","repos_url":"https://api.github.com/users/davux/repos","events_url":"https://api.github.com/users/davux/events{/privacy}","received_events_url":"https://api.github.com/users/davux/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T19:36:04Z","updated_at":"2015-05-06T19:36:04Z","body":"That sounds sensible to me. ConEmu is a terminal emulator (and more generally a container). GitBash is a command-line-based software set, that is independent from any terminal per se but does provide a mini terminal (mintty) for its materialisation needs. So GitBash shouldn't need to care about the outer layer. The best it can do is provide a headless mode for those who want a different terminal such as ConEmu, their own mintty, or anything else.\n\nIf both layers stick to their respective roles, there's no explicit integration to do on either side. If anything, a small shortcut on ConEmu's side but that's out of scope here.\n\n\nOn 6 May 2015 10:03:01 CEST, dscho <notifications@github.com> wrote:\n>The longer this ticket is open, the more it becomes clear to me that\n>ConEmu is most likely *not* something I can support via Git for\n>Windows' installer because ConEmu wants to do its own thing instead.\n>\n>So this is what I plan to do for the Git for Windows release: one new\n>wizard page in the Git for Windows installer that offers to edit\n>`git-bash.exe` so that it does not use `mintty` but the `cmd`-based\n>terminal window as in Git for Windows 1.x, leaving the default with\n>`mintty`.\n>\n>---\n>Reply to this email directly or view it on GitHub:\n>https://github.com/git-for-windows/git/issues/96#issuecomment-99366202\n\ndavux"}}