Skip to content

Commit

Permalink
Use absolute PATH to powershell.exe (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Jul 5, 2024
1 parent d086ab0 commit 5d1f938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-open
Original file line number Diff line number Diff line change
Expand Up @@ -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;;
Expand Down

0 comments on commit 5d1f938

Please sign in to comment.