msys2 / msys2-launcher

Helper for launching MSYS2 shells

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update Windows paths?

teh-hippo opened this issue · comments

Hi,

Hopefully this is the right spot for this.

Can the launcher either by default or through a setting change / update ${PATH} to whatever the current Windows environment says it should be, plus the default MSYS2 ones?

Sorry for the late reply.

If your issue is that your MSYS2 PATH doesn't contain paths from your regular Windows PATH, then that cannot be solved directly by me in this launcher (especially if you don't use it). If you do use this launcher ({msys2,mingw32,mingw64}.exe files), you can use the launcher settings to instruct MSYS2 to keep your Windows path, just put MSYS2_PATH_TYPE=inherit in your {msys2,mingw32,mingw64}.ini file(s).

I'll keep this ticket open to remind me that I should put this variable in the default .ini files.