mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
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:
parent
cbf53623b4
commit
a9b60d2493
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue