Dont convert path if browser is going to be run in terminal

This commit is contained in:
Jason 2019-11-29 12:14:40 +09:00 committed by Fabian Homborg
parent 8192fb2f2a
commit 585e4e905b

View File

@ -143,6 +143,7 @@ function help --description 'Show help for the fish shell'
if type -q cygpath
set page_url file://(cygpath -m $__fish_help_dir)/$fish_help_page
else if type -q wslpath
and string match -qr '.exe' $fish_browser
set page_url file://(wslpath -w $__fish_help_dir)/$fish_help_page
end
else