From 9eeed5ca1209975f87d7c5ffa4a554803ccf16a1 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 8 Sep 2024 18:51:59 +0200 Subject: [PATCH] Install fish-* man pages in default MANPATH fish adds ~/.local/share/fish/man to its MANPATH for builtins etc. But pages like fish-doc are unambiguous so it seems like they should be accessible from outside fish by default. Closes #10711 --- cmake/Install.cmake | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/cmake/Install.cmake b/cmake/Install.cmake index 8e67fb8cf..16025801d 100644 --- a/cmake/Install.cmake +++ b/cmake/Install.cmake @@ -32,7 +32,15 @@ set(extra_confdir # These are the man pages that go in system manpath; all manpages go in the fish-specific manpath. set(MANUALS ${CMAKE_CURRENT_BINARY_DIR}/user_doc/man/man1/fish.1 ${CMAKE_CURRENT_BINARY_DIR}/user_doc/man/man1/fish_indent.1 - ${CMAKE_CURRENT_BINARY_DIR}/user_doc/man/man1/fish_key_reader.1) + ${CMAKE_CURRENT_BINARY_DIR}/user_doc/man/man1/fish_key_reader.1 + ${CMAKE_CURRENT_BINARY_DIR}/user_doc/man/man1/fish-doc.1 + ${CMAKE_CURRENT_BINARY_DIR}/user_doc/man/man1/fish-tutorial.1 + ${CMAKE_CURRENT_BINARY_DIR}/user_doc/man/man1/fish-language.1 + ${CMAKE_CURRENT_BINARY_DIR}/user_doc/man/man1/fish-interactive.1 + ${CMAKE_CURRENT_BINARY_DIR}/user_doc/man/man1/fish-completions.1 + ${CMAKE_CURRENT_BINARY_DIR}/user_doc/man/man1/fish-prompt-tutorial.1 + ${CMAKE_CURRENT_BINARY_DIR}/user_doc/man/man1/fish-for-bash-users.1 + ${CMAKE_CURRENT_BINARY_DIR}/user_doc/man/man1/fish-faq.1) # Determine which man page we don't want to install. # On OS X, don't install a man page for open, since we defeat fish's open