paulirish / git-open

Type `git open` to open the GitHub page or website for a repository in your browser.
MIT License
3.31k stars 247 forks source link

Detect WSL case insensitively #158

Closed victor141516 closed 4 years ago

victor141516 commented 4 years ago

My uname -r is 4.19.81-microsoft-standard

ffes commented 4 years ago

PR looks good to me

Just out of curiosity... Is that an insider build? WSL2?

On my Win 10 1909 WSL this is shown:

$ uname -r
4.4.0-18362-Microsoft

So, the (pseudo) kernel version, followed by the Windows 10 build number and the text Microsoft.

In your case it looks quite different.

victor141516 commented 4 years ago

You're right, it's an insider build with wsl2