mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 15:05:27 +08:00
Force use of macOS's builtin manpath
Prevent a useless warning msg if Homebrew's `man-db` is installed and configured (cherry picked from commit 4c9fa511e8b0127874d65a3404bb1982f399babe)
This commit is contained in:
parent
0d65d5a422
commit
c6c6ac1c69
@ -40,7 +40,7 @@ if test $status -eq 0 -a (count $sysver) -eq 3
|
||||
|
||||
if test $age -ge $max_age
|
||||
test -d "$dir" || mkdir -m 700 -p $dir
|
||||
/usr/libexec/makewhatis -o "$whatis" (manpath | string split :) >/dev/null 2>&1 </dev/null &
|
||||
/usr/libexec/makewhatis -o "$whatis" (/usr/bin/manpath | string split :) >/dev/null 2>&1 </dev/null &
|
||||
disown $last_pid
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user