10BC0 bug: wsl detection assumes `appendWindowsPath` has not been disabled · Issue #5222 · jesseduffield/lazygit · GitHub
[go: up one dir, main page]

Skip to content

bug: wsl detection assumes appendWindowsPath has not been disabled #5222

@matt-FFFFFF

Description

@matt-FFFFFF

Open: `powershell.exe start explorer.exe "$(wslpath -w {{filename}})" >/dev/null`,
OpenLink: `powershell.exe start '{{link}}' >/dev/null`,

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0