Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perhaps new tabs creating through ConEmu64.exe commandline going wrong #2561

Open
esaulenka opened this issue Dec 1, 2023 · 0 comments
Open

Comments

@esaulenka
Copy link

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

  1. close ConEmu
  2. run C:\msys64\msys2_shell.cmd -conemu -msys
  3. run C:\msys64\msys2_shell.cmd -conemu -mingw64
  4. check that both tabs contains Msys2 environment (check $PATH and $MSYSTEM)
  5. close ConEmu
  6. run C:\msys64\msys2_shell.cmd -conemu -mingw64
  7. run C:\msys64\msys2_shell.cmd -conemu -msys
  8. now shells become MinGW64

Msys launcher located here: https://github.com/msys2/MSYS2-packages/blob/master/filesystem/msys2_shell.cmd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant