feat(manpath): expose user-local man pages for man fish-config

Adds ~/.local/share/man to MANPATH so the generated fish-config.1
(symlinked from docs/) is accessible via `man fish-config`.
This commit is contained in:
2026-06-06 04:31:48 -04:00
parent 329dae0f08
commit c9a5577c11
+5
View File
@@ -17,6 +17,11 @@ end
fish_add_path ~/.local/bin
fish_add_path ~/Applications/depot_tools
# Expose user-local man pages (e.g. fish-config.1 symlinked from docs/)
if not contains ~/.local/share/man $MANPATH
set -gx MANPATH ~/.local/share/man $MANPATH
end
# Format man pages using bat (only if bat is installed)
if type -q bat
set -gx MANROFFOPT -c