fish_job_summary calls commandline -f repaint, which, if it is called via something in fish_prompt, causes it to loop.
I found this when I noticed that fossil crashes if $PWD doesn't exist, so the test case is:
function fish_prompt; fossil branch current; end
mkdir foo
cd foo
rm -rf $PWD
It'll end up printing a constant stream of
fish: Job 1, 'fossil branch current' terminated by signal SIGABRT (Abort)
until you press ctrl-c. While this should be a bug in fossil, the general principle stands.
I'm not sure how to detect this and turn fish_job_summary off.
fish_job_summarycallscommandline -f repaint, which, if it is called via something in fish_prompt, causes it to loop.I found this when I noticed that fossil crashes if $PWD doesn't exist, so the test case is:
It'll end up printing a constant stream of
until you press ctrl-c. While this should be a bug in fossil, the general principle stands.
I'm not sure how to detect this and turn fish_job_summary off.