mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 17:28:01 +00:00
Replace signal TERM with KILL
This commit is contained in:
parent
b761261b11
commit
ef634f38a4
@ -82,7 +82,7 @@ function prompt_sorin_precmd {
|
|||||||
|
|
||||||
# Kill the old process of slow commands if it is still running.
|
# Kill the old process of slow commands if it is still running.
|
||||||
if (( _prompt_sorin_precmd_async_pid > 0 )); then
|
if (( _prompt_sorin_precmd_async_pid > 0 )); then
|
||||||
kill -TERM "$_prompt_sorin_precmd_async_pid" &>/dev/null
|
kill -KILL "$_prompt_sorin_precmd_async_pid" &>/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Compute slow commands in the background.
|
# Compute slow commands in the background.
|
||||||
|
Loading…
Reference in New Issue
Block a user