rebuild whatis database weekly, not daily

I still don't think we even address rebuilding
manpage completions yet. Maybe they could share a
solution.
This commit is contained in:
Aaron Gyes 2021-04-02 02:08:26 -07:00
parent 0e03e49eb9
commit b9b2010342

View File

@ -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"