Skip to content

Commit

Permalink
prompt: fix async usage in sorin prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
belak committed Nov 12, 2017
1 parent e159c1a commit ad79f78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/prompt/functions/prompt_sorin_setup
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ad79f78

Please sign in to comment.