jesseduffield / jesseduffield/lazygit
bug: wsl detection assumes `appendWindowsPath` has not been disabled
Open
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
https://github.com/jesseduffield/lazygit/blob/19605ad47699888da471ddf17bd2ae6dbb1abf3a/pkg/config/config_linux.go#L24-L25
If the above has been disabled in `/etc/wsl.conf` then the powershell exe cannot be found. Would you consider using xdg-open? I think this requires `BROWSER` to be set..
ALternatively wslview is a good option.
Or maybe attempting to resolve an absolute path for powershell.exe
Happy to make a PR
Contributor guide
Assessment
This issue has not been assessed yet.