From 4c9fa511e8b0127874d65a3404bb1982f399babe Mon Sep 17 00:00:00 2001 From: Amy Grace Date: Sun, 28 May 2023 11:14:19 -0600 Subject: [PATCH] Force use of macOS's builtin `manpath` Prevent a useless warning msg if Homebrew's `man-db` is installed and configured --- share/functions/__fish_apropos.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_apropos.fish b/share/functions/__fish_apropos.fish index fcc5f9f9c..0e4d1a697 100644 --- a/share/functions/__fish_apropos.fish +++ b/share/functions/__fish_apropos.fish @@ -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 2>&1