From 85ea9bf7812dccb89bca5b7287633b5e50372aac Mon Sep 17 00:00:00 2001 From: Max Nordlund Date: Thu, 23 Sep 2021 10:59:44 +0200 Subject: [PATCH] Hide whatis database building from the user (#8310) * Hide whatis database building from the user It's really an internal detail, but shows up in prompts that display how many background jobs are running. By disowning it keeps running but won't show up in `jobs` or get killed if the user exits the shell. * Update __fish_apropos.fish --- share/functions/__fish_apropos.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/share/functions/__fish_apropos.fish b/share/functions/__fish_apropos.fish index 633ee22d3..16c90bb36 100644 --- a/share/functions/__fish_apropos.fish +++ b/share/functions/__fish_apropos.fish @@ -44,6 +44,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" (man --path | string split :) >/dev/null 2>&1