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
1 changed files with 2 additions and 2 deletions

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 {