mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 05:12:50 +08: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 |