Skip to content

Commit 849298f

Browse files
authored
Detect WSL case insensitively (#158)
Detect WSL case insensitively
2 parents fcbbf91 + ad8fac9 commit 849298f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-open

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ case $( uname -s ) in
256256
MSYS*) open='start';;
257257
CYGWIN*) open='cygstart';;
258258
*) # Try to detect WSL (Windows Subsystem for Linux)
259-
if uname -r | grep -q Microsoft; then
259+
if uname -r | grep -q -i Microsoft; then
260260
open='powershell.exe Start'
261261
else
262262
open='xdg-open'

0 commit comments

Comments
 (0)