mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-30 01:11:14 -03:00
Dogfooding to show off use case
This commit is contained in:
committed by
Fabian Homborg
parent
21bbd2ecb4
commit
eaf313f755
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user