From 585e4e905b6c0d9f63d205a068f7add22c4b6d93 Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 29 Nov 2019 12:14:40 +0900 Subject: [PATCH] Dont convert path if browser is going to be run in terminal --- share/functions/help.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/share/functions/help.fish b/share/functions/help.fish index 91fc2580e..ad1f38a85 100644 --- a/share/functions/help.fish +++ b/share/functions/help.fish @@ -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