Use dashes instead of underscores pervasively in tutorial anchors

This fixes some broken help completions.
This commit is contained in:
ridiculousfish
2020-07-31 12:06:40 -07:00
parent c940af1600
commit 1c2323e76f
3 changed files with 30 additions and 30 deletions

View File

@@ -121,7 +121,7 @@ function help --description 'Show help for the fish shell'
set fish_help_page "cmds/$fish_help_item.html"
case 'completion-*'
set fish_help_page "completions.html#$fish_help_item"
case 'tut_*'
case 'tut-*'
set fish_help_page "tutorial.html#"(string sub -s 5 -- $fish_help_item | string replace -a -- _ -)
case tutorial
set fish_help_page "tutorial.html"