mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 17:31:14 -03:00
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
This commit is contained in:
@@ -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 </dev/null &
|
||||
disown $last_pid
|
||||
end
|
||||
end
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user