Set up git bash to work with tabs on windows
I've got this working with ConEmu instead.
http://sourceforge.net/projects/conemu/
- Install Git Bash
- Install ConEmu
- Open ConEmu, in settings (top right corner), click "settings"
- In the settings tree, open "startup", then "tasks"
- Add a new task, or edit one of the existing ones
- click on the "tab" button in second row from bottom
- in the first box, enter "[git directory]\bin\sh.exe --login -s"
- in the second box, enter your preferred startup directory
- save
- now assign a hotkey (top right corner) (I have mine on ctrl+T)
- You're done! Now you have a multitabbed console in windows, where you can create any number of Git Bash windows via a hotkey.
This config works for me in Console2:
Title: Git Bash
Icon: C:\Program Files (x86)\Git\etc\git.ico
Shell: C:\Windows\SysWOW64\cmd.exe /c ""C:\Program Files (x86)\Git\bin\sh.exe" --login -i"
Startup dir: the path to your git repo
- Install Git Bash -> Git for Windows v2.9.3
- Install ConEMU Version 10.0.17134.48 -->https://conemu.github.io/en/Downloads.html
- ConEMU latest version comes preconfigured with gitbash and windows cmd. No settings are required to be done
- Open ConEMU
- Open windows cmd with new console dialog option -> {Shells::cmd} in ConEMU
- Open git bash with new console dialog option -> {Bash::Git bash} in ConEMU