From ad79f78fbe143e38be421733713e562eccca018b Mon Sep 17 00:00:00 2001 From: Kaleb Elwert Date: Sat, 11 Nov 2017 20:56:59 -0800 Subject: [PATCH] prompt: fix async usage in sorin prompt Fixes #1509 --- modules/prompt/functions/prompt_sorin_setup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/prompt/functions/prompt_sorin_setup b/modules/prompt/functions/prompt_sorin_setup index b070c56c..30e71a92 100644 --- a/modules/prompt/functions/prompt_sorin_setup +++ b/modules/prompt/functions/prompt_sorin_setup @@ -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 {