diff --git a/share/functions/help.fish b/share/functions/help.fish index 6b7cca719..b4985d10e 100644 --- a/share/functions/help.fish +++ b/share/functions/help.fish @@ -85,7 +85,8 @@ function help --description 'Show help for the fish shell' # # We use this instead of xdg-open because that's useless without a backend # like wsl-open which we'll check in a minute. - if not type -q cygstart + if test -f /proc/version + and string match -riq 'Microsoft|WSL'