Created
September 30, 2024 17:19
-
-
Save arkenidar/c73c6c41890d7ca2c87b4acc977c8584 to your computer and use it in GitHub Desktop.
https://www.msys2.org/ notes about integration in Windows Terminal and Visual Studio Code
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
#!/usr/bin/bash | |
# https://www.msys2.org/ notes about integration in Windows Terminal and Visual Studio Code | |
# bash MSYS-UCRT.bash | |
# C:\msys64\usr\bin\bash.exe "C:\msys64\home\dario\MSYS-UCRT.bash" | |
# set MSYSTEM=UCRT64 | |
# set CHERE_INVOKING=1 | |
# set MSYS2_PATH_TYPE=inherit | |
# C:\msys64\usr\bin\bash.exe --login -i | |
export MSYSTEM=UCRT64 | |
export CHERE_INVOKING=1 | |
export MSYS2_PATH_TYPE=inherit | |
/usr/bin/bash --login -i | |
# /usr/bin/bash -c "/c/msys64/home/dario/MSYS-UCRT.bash" | |
# C:\msys64\usr\bin\bash.exe -c "/c/msys64/home/dario/MSYS-UCRT.bash" | |
# command line in Windows Terminal | |
# C:\msys64\usr\bin\bash.exe -c "/c/msys64/home/dario/MSYS-UCRT.bash" | |
exit # comment section for extra infos | |
settings.json of visual studio code | |
// terminals | |
"terminal.explorerKind": "integrated", | |
"terminal.integrated.defaultProfile.windows": "MSYS2_UCRT64", | |
"terminal.integrated.profiles.windows": { | |
"MSYS2_UCRT64": { | |
"path": "C:\\msys64\\usr\\bin\\bash.exe", | |
"args": [ | |
"--login", | |
"-i" | |
], | |
"env": { | |
"MSYSTEM": "UCRT64", | |
"CHERE_INVOKING": "1", | |
"MSYS2_PATH_TYPE": "inherit", | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment