Call fish_prompt after background job finishes

We don't need to call it if a job was stopped, because in that case
read_i() will fire fish_prompt already, because the newly stopped job
was probably a foreground job.

Fixes #1018
This commit is contained in:
Johannes Altmanninger 2020-05-22 17:45:40 +02:00
parent cbf53623b4
commit a9b60d2493

View file

@ -49,4 +49,8 @@ function fish_job_summary -a job_id is_foreground cmd_line signal_or_end_name si
$job_id $cmd_line $signal_or_end_name $signal_desc
end
end >&2
if test $is_foreground -eq 0; and test $signal_or_end_name != STOPPED
commandline -f repaint
end
end