mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-17 07:52:45 +08:00
Dont convert path if browser is going to be run in terminal
This commit is contained in:
parent
8192fb2f2a
commit
585e4e905b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user