mirror of
https://github.com/paulirish/git-open.git
synced 2026-09-10 07:26:15 -04:00
Use absolute PATH to powershell.exe (#204)
Some checks failed
CI / basics (push) Has been cancelled
Some checks failed
CI / basics (push) Has been cancelled
This commit is contained in:
parent
d086ab0077
commit
5d1f938b47
2
git-open
2
git-open
|
|
@ -263,7 +263,7 @@ case $( uname -s ) in
|
|||
CYGWIN*) open='cygstart';;
|
||||
*) # Try to detect WSL (Windows Subsystem for Linux)
|
||||
if uname -r | grep -q -i Microsoft; then
|
||||
open='powershell.exe -NoProfile Start'
|
||||
open='/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -NoProfile Start'
|
||||
else
|
||||
open='xdg-open'
|
||||
fi;;
|
||||
|
|
|
|||
Loading…
Reference in a new issue