Skip to content

Commit

Permalink
Replace signal USR1 with WINCH
Browse files Browse the repository at this point in the history
  • Loading branch information
sorin-ionescu committed May 31, 2015
1 parent 02c5f77 commit b761261
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 @@ -67,7 +67,7 @@ function prompt_sorin_precmd_async {
fi

# Signal completion to parent process.
kill -USR1 $$
kill -WINCH $$
}

function prompt_sorin_precmd {
Expand All @@ -86,7 +86,7 @@ function prompt_sorin_precmd {
fi

# Compute slow commands in the background.
trap prompt_sorin_git_info USR1
trap prompt_sorin_git_info WINCH
prompt_sorin_precmd_async &!
_prompt_sorin_precmd_async_pid=$!
}
Expand Down

0 comments on commit b761261

Please sign in to comment.