mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-20 02:11:16 -03: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.