We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ff5367 + 5b13199 commit 8fbd29eCopy full SHA for 8fbd29e
conf.d/__async_prompt.fish
@@ -66,7 +66,9 @@ and begin
66
67
for func in (__async_prompt_config_functions)
68
__async_prompt_config_inherit_variables | __async_prompt_spawn $st 'set -l prompt ('$func'); and set -U __async_prompt_'$func'_text_'(__async_prompt_pid)' $prompt'
69
- function '__async_prompt_'$func'_handler' --on-process-exit (jobs -lp | tail -n1)
+ set -l apid (jobs -lp | tail -n1)
70
+ disown $apid # Prevent blocking exit while job is running.
71
+ function '__async_prompt_'$func'_handler' --on-process-exit $apid
72
kill -WINCH (__async_prompt_pid)
73
sleep 0.1
74
0 commit comments