From b761261b11af719007203926a769f2b5cb87033b Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Sun, 31 May 2015 16:46:42 -0400 Subject: [PATCH] Replace signal USR1 with WINCH --- 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 7a0dab7..a3e6745 100644 --- a/modules/prompt/functions/prompt_sorin_setup +++ b/modules/prompt/functions/prompt_sorin_setup @@ -67,7 +67,7 @@ function prompt_sorin_precmd_async { fi # Signal completion to parent process. - kill -USR1 $$ + kill -WINCH $$ } function prompt_sorin_precmd { @@ -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=$! }