diff --git a/share/functions/help.fish b/share/functions/help.fish index 990b6ba87..e42ad81b7 100644 --- a/share/functions/help.fish +++ b/share/functions/help.fish @@ -165,14 +165,14 @@ function help --description 'Show help for the fish shell' case '*' printf (_ 'help: Help is being displayed in %s.\n') $fish_browser[1] end - $fish_browser $page_url & + eval "$fish_browser $page_url &" else # Work around lynx bug where
always has the same formatting as links (unreadable) # by using a custom style sheet. See https://github.com/fish-shell/fish-shell/issues/4170 set -l local_file 0 - if $fish_browser --version 2>/dev/null | string match -qr Lynx + if eval $fish_browser --version 2>/dev/null | string match -qr Lynx set fish_browser $fish_browser -lss={$__fish_data_dir}/lynx.lss end - $fish_browser $page_url + eval $fish_browser $page_url end end