mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
a6c8cd6e85
When `manpath` prints a symlink to a directory, `/usr/libexec/makewhatis` ignores the entire directory: ``` $ /usr/libexec/makewhatis -o /tmp/whatis \ (/usr/bin/manpath | string split :) makewhatis: /Users/wiggles/.nix-profile/share/man: Not a directory ``` This means that the built-in `man` completions will not index any commands in these directories. If we pass the directories to `readlink -f` first, `makewhatis` correctly indexes the `man` pages. ``` $ /usr/libexec/makewhatis -o /tmp/whatis \ (/usr/bin/manpath | string split : | xargs readlink -f) ``` |
||
---|---|---|
.. | ||
completions | ||
functions | ||
groff | ||
tools | ||
__fish_build_paths.fish.in | ||
config.fish |