jesseduffield / jesseduffield/lazygit

bug: wsl detection assumes `appendWindowsPath` has not been disabled

Open
#5,222 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.