After upgrading my PC to Windows 10 and doing a reset, I had to redownload all of my programs. When I downloaded Git for Windows, it came with a newer version compared to what I used before. This version looks to use mintty for the terminal, which doesn't seem to support using arrow keys to scroll through options when running certain commands. Example is Yeoman, you're supposed to use the arrow keys to select what you want to do, but the arrow keys just moves the cursor instead of the options list.
So thinking this is a mintty issue, how can I go back to the previous terminal that was being used (sorry don't remember what it was pre-2.5)? Or how to start git-bash without mintty? Or anyone know a way to get mintty to work with arrows properly?
git-bash.exe runs mintty.exe . To launch Git Bash in a non-Mintty terminal, use git-cmd.exe , examples of which are in the next two sections.
Choose MinTTY, the default terminal of MSYS2, instead of your Windows 10 default console window. This will help you keep your Git operations separate from the remaining PC functions. Also, the MinTTY window feels exactly the same as the command terminal.
Git Bash comes included as part of the Git For Windows package. Download and install Git For Windows like other Windows applications. Once downloaded find the included .exe file and open to execute Git Bash.
For MSYS2, mintty is installed by default, or it can be installed later with the command pacman -S mintty . In Git-for-Windows, mintty is installed by default and invoked as "Git Bash".
I'm using console2 to display my different cmd.exe
and bash
windows in tabs, so I ran into the same problem. The way I solved it was to call cmd.exe
and have it launch the git bash
. That seems to do the trick for me. So configure your tool(s) to use a shell like that:
cmd.exe /C "C:\Program Files\Git\bin\bash.exe" --login -i
(Of course you may need to adjust the path.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With