I updated msys2 recently and found mintty always shows 'Shells (bash)' dialog before it invokes.
It's little bit annoying to click the button every time, how can I suppress this dialog with fixing the default shell?
Mintty version is mintty 2.7.7 (x86_64-pc-msys)
.
Note that the examples assume that you have MSYS2 installed under C:\msys64 . You can make one of the MSYS2 profiles the default by setting the defaultProfile key to the guid value of one of the profile entries.
DESCRIPTION. Mintty is a terminal emulator for Cygwin with a native Windows user interface and minimalist design. Its terminal emulation is largely compatible with xterm, but it does not require an X server.
Starting the Command Shell: This part of the lab will teach you how to start the MSYS command shell in Windows. Click on Start, drag to All Programs, drag to MinGW, drag to MSYS, and click on msys. (Or, double-click on the MSYS icon on the desktop, if tere is one.) What is the current directory?
It consists of a command line terminal called mintty, bash, version control systems like git and subversion, tools like tar and awk and even build systems like autotools, all based on a modified version of Cygwin.
Try installing the msys2-launcher
package with pacman -S msys2-launcher
. Then you should have three executables in the MSYS2 installation directory, and you should run the shell using those executables. You can then pin the shell to your Windows taskbar for future launching.
I tried installing msys2-launcher, but could not find the package.
Instead, I updated the Target field in my Windows shortcut to point to the msys2 bash directly:
C:\msys64\usr\bin\mintty.exe /usr/bin/bash
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