From b9b201034218d39458c01b0e9ef9d464802e801a Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Fri, 2 Apr 2021 02:08:26 -0700 Subject: [PATCH] rebuild whatis database weekly, not daily I still don't think we even address rebuilding manpage completions yet. Maybe they could share a solution. --- 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 3b75b8017..d555fa016 100644 --- a/share/functions/__fish_apropos.fish +++ b/share/functions/__fish_apropos.fish @@ -27,7 +27,7 @@ and if test $sysver[2] = 'Darwin' -a $sysver[3] -ge 19 # # the cache is rebuilt once a week. set -l whatis $cache/whatis - set -l max_age 86400 # one day + set -l max_age 600000 # like a week set -l age $max_age if test -f "$whatis"