title: How to wrap the bash shell from Github for Windows in Console2?
body: <p>I'm trying to get the bash shell of Github for Windows to be wrapped by Console2. This is not as easy as I'd hoped. This is super easy with Git for Windows from git-scm.com. I know that I can use that bash shell with Console2 no problem and have been, I'm just really curious about how to do this with the Github for Windows bash shell.  With the name similarity between Github for Windows and Git for Windows, I have been thwarted in my searching for a solution.
  <img src="https://i.stack.imgur.com/YtKih.png" alt="enter image description here"></p>
  
  <p>Wrapping the bash shell from the git-scm.com mysysgit aka Git for Windows is very simple since it comes with a sh.exe.  You simply fill the Shell: field in Console2 settings with something like:</p>
  
  <pre><code>"C:\Program Files (x86)\Git\bin\sh.exe" --login -i
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/mxOBx.png" alt="enter image description here"></p>
  
  <p>My question is how do you get the Github for Windows bash shell to open inside of Console2?</p>
  
  <p>In Github for windows, there is no easy path and executable for the Shell field.  What you can do is go into the options for Github for Windows and set a custom program and have that point to Console2 like so:
  <img src="https://i.stack.imgur.com/QXrBY.png" alt="enter image description here"></p>
  
  <p>The real trick is what goes into Console2 settings?  What goes into the Shell: field to get a the bash shell inside Console2?  If you look at the target of the shell command for Github for Windows with the bash shell selected, you get something a little strange:</p>
  
  <pre><code>C:\Users\10136196\AppData\Local\GitHub\GitHub.appref-ms --open-shell
  </code></pre>
  
  <p>This has to do with microsoft one click install functionality that Github for Windows uses and this will not work in the Console2 settings Shell: field in my experimentation.  </p>