Perhaps new tabs creating through ConEmu64.exe commandline going wrong
esaulenka opened this issue · 0 comments
esaulenka commented
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
- 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
) - close ConEmu
- run
C:\msys64\msys2_shell.cmd -conemu -mingw64
- run
C:\msys64\msys2_shell.cmd -conemu -msys
- now shells become MinGW64
Msys launcher located here: https://github.com/msys2/MSYS2-packages/blob/master/filesystem/msys2_shell.cmd