Rename config_help → config-help (kebab-case, matching fish convention for multi-word functions)
Add functions/help.fish wrapper that intercepts help config [section] and forwards sub-topics to config-help; all other help topics pass through to fish's built-in help unchanged
Update README.md and docs/fish-config.md to use help config as the preferred syntax throughout, with a note that config-help still works directly
Details
The new help wrapper backs up the native fish help function as __original_help on first load (sourcing it from $__fish_data_dir to trigger lazy-loading correctly), then delegates help config [...] to config-help and everything else to the original. This makes offline docs feel like a natural extension of fish's built-in help system — users who already know help string or help for will intuitively try help config.
Manual Verification
Open a new fish shell and run help config — offline manual opens in the configured pager
Run help config keybindings — pager opens at the Key Bindings section
Run help config pkg — pager jumps to the pkg function entry
Run help string — standard fish documentation for string opens (not intercepted)
Run help for — standard fish documentation opens correctly
Run config-help directly — still works as before
Run config-help keybindings directly — section jump still works
Confirm functions/config_help.fish is gone and functions/config-help.fish exists
## Summary
- Rename `config_help` → `config-help` (kebab-case, matching fish convention for multi-word functions)
- Add `functions/help.fish` wrapper that intercepts `help config [section]` and forwards sub-topics to `config-help`; all other `help` topics pass through to fish's built-in help unchanged
- Update `README.md` and `docs/fish-config.md` to use `help config` as the preferred syntax throughout, with a note that `config-help` still works directly
## Details
The new `help` wrapper backs up the native fish `help` function as `__original_help` on first load (sourcing it from `$__fish_data_dir` to trigger lazy-loading correctly), then delegates `help config [...]` to `config-help` and everything else to the original. This makes offline docs feel like a natural extension of fish's built-in help system — users who already know `help string` or `help for` will intuitively try `help config`.
## Manual Verification
- [x] Open a new fish shell and run `help config` — offline manual opens in the configured pager
- [x] Run `help config keybindings` — pager opens at the Key Bindings section
- [x] Run `help config pkg` — pager jumps to the pkg function entry
- [x] Run `help string` — standard fish documentation for `string` opens (not intercepted)
- [x] Run `help for` — standard fish documentation opens correctly
- [x] Run `config-help` directly — still works as before
- [x] Run `config-help keybindings` directly — section jump still works
- [x] Confirm `functions/config_help.fish` is gone and `functions/config-help.fish` exists
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
config_help→config-help(kebab-case, matching fish convention for multi-word functions)functions/help.fishwrapper that interceptshelp config [section]and forwards sub-topics toconfig-help; all otherhelptopics pass through to fish's built-in help unchangedREADME.mdanddocs/fish-config.mdto usehelp configas the preferred syntax throughout, with a note thatconfig-helpstill works directlyDetails
The new
helpwrapper backs up the native fishhelpfunction as__original_helpon first load (sourcing it from$__fish_data_dirto trigger lazy-loading correctly), then delegateshelp config [...]toconfig-helpand everything else to the original. This makes offline docs feel like a natural extension of fish's built-in help system — users who already knowhelp stringorhelp forwill intuitively tryhelp config.Manual Verification
help config— offline manual opens in the configured pagerhelp config keybindings— pager opens at the Key Bindings sectionhelp config pkg— pager jumps to the pkg function entryhelp string— standard fish documentation forstringopens (not intercepted)help for— standard fish documentation opens correctlyconfig-helpdirectly — still works as beforeconfig-help keybindingsdirectly — section jump still worksfunctions/config_help.fishis gone andfunctions/config-help.fishexists