Last active
December 26, 2021 23:36
-
-
Save elieux/dd6d0c15cc0ae503f830 to your computer and use it in GitHub Desktop.
MSYS2 start scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set MSYSTEM=MINGW32 | |
"%~dp0msys2.cmd" %* | |
set MSYSTEM= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set MSYSTEM=MINGW64 | |
"%~dp0msys2.cmd" %* | |
set MSYSTEM= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal | |
set PATH=%SystemRoot%\System32;%SystemRoot%;%SystemRoot%\System32\Wbem | |
set MSYSROOT=D:\msys64 | |
if "%MSYSTEM%"=="" ( | |
set MSYSTEM=MSYS | |
) | |
if "%1"=="" ( | |
set CMD=-i | |
) else ( | |
set CMD=-c "%*" | |
) | |
rem set MSYS=winsymlinks:nativestrict | |
rem set MSYS=error_start:%MSYSROOT%\mingw64\bin\qtcreator.exe^|-debug^|^<process-id^> | |
set CHERE_INVOKING=1 | |
start "" "%MSYSROOT%\usr\bin\mintty" -i /msys2.ico -e /usr/bin/bash --login %CMD% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment