From eaf313f7551d4a93d051251fb8537dd0d73a2d44 Mon Sep 17 00:00:00 2001 From: Jason Nader Date: Wed, 25 Mar 2020 13:02:32 +0900 Subject: [PATCH] Dogfooding to show off use case --- share/functions/help.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/help.fish b/share/functions/help.fish index b4985d10e..41d7864ee 100644 --- a/share/functions/help.fish +++ b/share/functions/help.fish @@ -162,7 +162,7 @@ function help --description 'Show help for the fish shell' end else # Go to the web. Only include one dot in the version string - set -l version_string (echo $version| cut -d . -f 1,2) + set -l version_string (string split . -f 1,2 -- $version | string join .) set page_url https://fishshell.com/docs/$version_string/$fish_help_page # We don't need a trampoline for a remote URL. set need_trampoline