mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-02 23:27:32 +02:00
The OS command to open file in explorer in WSL doesn't currently work as expected; it always opens the file explorer at the default opening location. This is because the {{filename}} variable returns the path in WSL format, and not in the format expected by Windows. We use wslpath, a utility shipped with WSL, to make the path conversion.