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

Windows Terminal instructions don't work with network paths #215

Open
jacob-pro opened this issue Jul 16, 2022 · 1 comment
Open

Windows Terminal instructions don't work with network paths #215

jacob-pro opened this issue Jul 16, 2022 · 1 comment

Comments

@jacob-pro
Copy link

I have followed the instructions here for Windows Terminal: https://www.msys2.org/docs/terminals/

As such the command line is: C:/msys64/msys2_shell.cmd -defterm -here -no-start -use-full-path -mingw64

However this causes the issue network paths don't open properly:

image

There are various ways I thought of working around this:

The best way so far seems to be instead using:

C:\msys64\usr\bin\env.exe MSYSTEM=MINGW64 CHERE_INVOKING=1 /usr/bin/bash.exe --login

This works fine:

image

@rgl
Copy link

rgl commented Sep 3, 2022

For inheriting the PATH, this worked for me instead:

C:/tools/msys64/usr/bin/bash.exe -c "MSYS2_PATH_TYPE=inherit MSYSTEM=MINGW64 CHERE_INVOKING=1 exec /usr/bin/bash.exe --login"

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

3 participants
@rgl @jacob-pro and others