mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 08:21:56 +08:00

Haiku only has `man --path`. Still doesn't support OpenBSD. Use $MANPATH if available. This needs to: - Ignore stderr (we pipe it and throw it away) - Read the subprocess returncode, since `man --path` is an existing command that fails instead of a non-existent one (that raises an exception) - Properly set up the fallback Fixes #2194.