Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/git-browse
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ case "$OSTYPE" in
;;
linux*)
# Handle WSL on Windows
if uname -a | grep -i -q Microsoft
if uname -a | grep -i -q Microsoft && command -v powershell.exe
then
powershell.exe -NoProfile start $url
else
Expand Down
2 changes: 1 addition & 1 deletion bin/git-browse-ci
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ case "$OSTYPE" in
;;
linux*)
# Handle WSL on Windows
if uname -a | grep -i -q Microsoft
if uname -a | grep -i -q Microsoft && command -v powershell.exe
then
powershell.exe -NoProfile start "${ci_url}"
else
Expand Down