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

Missing info about interactive login shell when running wsl #5204

Open
routerdieb-eviden opened this issue Mar 23, 2024 · 0 comments
Open

Missing info about interactive login shell when running wsl #5204

routerdieb-eviden opened this issue Mar 23, 2024 · 0 comments
Labels
docs Primarily or only affects documentation

Comments

@routerdieb-eviden
Copy link

What page or section of the docs have an issue?
Some people may try to start wsl and run a program inside it. (Especially some NVIM users).
This work for example
wezterm start -- wsl nvim test.py
howether some paths or symbols are missing, so that not all plugins work.
Figuring out that you not only need a login but an interactive shell and that you need to disable path sharing for npm to be found at the correct location took 4 hours and i want others to maybe find relevant information earlier.

wezterm stert -- wsl bash -li -c 'nvim test.py' solves it.

=> I think the page with launching programs could include notes on wsl
=> Disable path sharing on collision (disable windows path in wsl)
=> Run your program in login interactive shell

@routerdieb-eviden routerdieb-eviden added the docs Primarily or only affects documentation label Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Primarily or only affects documentation
Projects
None yet
Development

No branches or pull requests

1 participant