On Windows 10, version 1903, with OpenSUSE 15.1 under WSL 1, despite having explicitly added
[interop]
enabled = true
appendWindowsPath = true
to /etc/wsl.conf the converted %PATH% is not appended to $PATH. How to enable the appending
of the converted %PATH% to $PATH?
Perhaps as a hint that someone has an explanation for, it is also unexpected that any path appended
to $PATH in .zshenv is removed, but will only be retained when appended in .zshrc .
Unless you are running an ancient version of Win10, WSL should support the Windows PATH by default.
Since you’re running 1903, you are running the most recent upgraded version of Win10 (as of this post)
Read the following,
But skip down to the last section for specific instructions and examples how to call WSL from the Windows CMD and how to call a Windows binary from WSL
should be sufficient and done anyway (who runs a system that’s not updated?)
Maybe it’s not obvious running WSL, but it should be updated immediately after install and regularly just like any other openSUSE.