mirror of
https://github.com/paulirish/git-open.git
synced 2026-09-10 07:26:15 -04:00
commit
849298fece
2
git-open
2
git-open
|
|
@ -256,7 +256,7 @@ case $( uname -s ) in
|
||||||
MSYS*) open='start';;
|
MSYS*) open='start';;
|
||||||
CYGWIN*) open='cygstart';;
|
CYGWIN*) open='cygstart';;
|
||||||
*) # Try to detect WSL (Windows Subsystem for Linux)
|
*) # Try to detect WSL (Windows Subsystem for Linux)
|
||||||
if uname -r | grep -q Microsoft; then
|
if uname -r | grep -q -i Microsoft; then
|
||||||
open='powershell.exe Start'
|
open='powershell.exe Start'
|
||||||
else
|
else
|
||||||
open='xdg-open'
|
open='xdg-open'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue