Oh-My-ZSH plugin for WSL.
Clone and enable the plugin:
git clone https://github.com/florentinl/omz-wsl.git $ZSH_CUSTOM/plugins/omz-wsl
omz plugin enable omz-wslAdd symlink to mock xdg-open (useful for some programs that use it):
ln -s $ZSH_CUSTOM/plugins/omz-wsl/open_browser.sh ~/.local/bin/xdg-opencargo doc --open # Now worksSome other tools that try to open a web browser or a file explorer from a terminal (using xdg-open) will also work.
Allows to use windows programs without having to add the .exe extension:
wsl -l -v # instead of `wsl.exe -l -v`
echo "Something" | clip # instead of `clip.exe`explorer nested/folder # Now works
explorer https://github.com # Still works