ConEmu build: 230724 x64
OS version: Windows 10 x64
Used shell version: msys2
Problem description
I faced with the problem when tried to add a new msys2 tab to the running ConEmu.
In short, msys2 have a few different environments. It is selected on the start by setting environment variable MSYSTEM (with values like MSYS, MINGW64, etc) before launching shell.
But as I understood when msys2's startup script launching ConEmu64.exe /Run C:\msys64\usr\bin\bash it uses environment variables got at the first run.
Steps to reproduce
close ConEmu
run C:\msys64\msys2_shell.cmd -conemu -msys
run C:\msys64\msys2_shell.cmd -conemu -mingw64
check that both tabs contains Msys2 environment (check $PATH and $MSYSTEM)
Versions
ConEmu build: 230724 x64 OS version: Windows 10 x64 Used shell version: msys2
Problem description
I faced with the problem when tried to add a new msys2 tab to the running ConEmu. In short, msys2 have a few different environments. It is selected on the start by setting environment variable MSYSTEM (with values like MSYS, MINGW64, etc) before launching shell. But as I understood when msys2's startup script launching
ConEmu64.exe /Run C:\msys64\usr\bin\bash
it uses environment variables got at the first run.Steps to reproduce
C:\msys64\msys2_shell.cmd -conemu -msys
C:\msys64\msys2_shell.cmd -conemu -mingw64
$PATH
and$MSYSTEM
)C:\msys64\msys2_shell.cmd -conemu -mingw64
C:\msys64\msys2_shell.cmd -conemu -msys
Msys launcher located here: https://github.com/msys2/MSYS2-packages/blob/master/filesystem/msys2_shell.cmd