feat(help): integrate config-help into fish's help command

Rename config_help → config-help and add a help wrapper that
intercepts 'help config [section]', forwarding sub-topics to
config-help. Update README and docs to use 'help config' as the
preferred interface so offline docs feel like a natural extension
of fish's built-in help system.
This commit is contained in:
2026-06-06 22:31:24 -04:00
parent cf56f58dcd
commit 569d17a342
5 changed files with 84 additions and 32 deletions
+14 -11
View File
@@ -12,15 +12,18 @@ fish-config - personal fish shell configuration for Fish 4.x with modern CLI too
# SYNOPSIS
config_help [SECTION]
help config [SECTION]
Open this manual in the best available pager. Optionally jump to a section
by keyword:
config_help keybindings
config_help pkg
config_help abbreviations
config_help logs
help config keybindings
help config pkg
help config abbreviations
help config logs
The `help config` syntax integrates with fish's built-in help command.
The underlying `config-help` function is also available directly.
# DESCRIPTION
@@ -1213,7 +1216,7 @@ calls fisher update as its first step.
## With ov (recommended)
config_help
help config
ov renders the Markdown with syntax highlighting and section-based
navigation.
@@ -1247,10 +1250,10 @@ a completely separate command. Do not mix them up.
## Jumping to a section
config_help keybindings
config_help abbreviations
config_help pkg
config_help logs
config_help fish-deps
help config keybindings
help config abbreviations
help config pkg
help config logs
help config fish-deps
The keyword is matched case-insensitively against section headings.