mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 21:21:15 -03:00
Use dashes instead of underscores pervasively in tutorial anchors
This fixes some broken help completions.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user