1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 05:48:01 +00:00

prompt: fix async usage in sorin prompt

Fixes #1509
This commit is contained in:
Kaleb Elwert 2017-11-11 20:56:59 -08:00
parent e159c1a439
commit ad79f78fbe

View File

@ -75,10 +75,10 @@ function prompt_sorin_async_tasks {
fi
# Kill the old process of slow commands if it is still running.
async_flush_jobs async_sorin_git
async_flush_jobs prompt_sorin
# Compute slow commands in the background.
async_job async_sorin_git prompt_sorin_async_git "$PWD"
async_job prompt_sorin prompt_sorin_async_git "$PWD"
}
function prompt_sorin_precmd {