diff --git a/share/functions/help.fish b/share/functions/help.fish index 565527fe7..4b81f6056 100644 --- a/share/functions/help.fish +++ b/share/functions/help.fish @@ -213,8 +213,8 @@ function help --description 'Show help for the fish shell' echo '' >$tmpname set page_url file://$tmpname - # For Windows (Cygwin, msys2 and WSL), we need to convert the base help dir to a Windows path before converting it to a file URL - # but only if a Windows browser is being used + # For Windows (Cygwin, msys2 and WSL), we need to convert the base help dir to a Windows path + # before converting it to a file URL, but only if a Windows browser is being used if type -q cygpath and string match -qr '(cygstart|\.exe)(\s+|$)' $fish_browser[1] set page_url file://(cygpath -m $tmpname)