From 81a9a8fc0c6ea8d9b2215e60725db7a1aa250496 Mon Sep 17 00:00:00 2001 From: Westley Feller Date: Wed, 8 Sep 2021 14:52:34 -0700 Subject: [PATCH] Remove & disown from bg:exec --- shell/post.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/post.bash b/shell/post.bash index 4a1e21c..acc280c 100644 --- a/shell/post.bash +++ b/shell/post.bash @@ -18,7 +18,7 @@ fi function fig_osc { printf "\033]697;"; printf $@; printf "\007"; } function __fig_preexec() { - fig bg:exec $$ $TTY & disown + fig bg:exec $$ $TTY fig_osc PreExec @@ -54,7 +54,7 @@ function __fig_prompt () { [[ -z "${_fig_done_preexec:-}" ]] && __fig_preexec "" _fig_done_preexec="" - fig bg:prompt $$ $TTY & disown + fig bg:prompt $$ $TTY # If FIG_USER_PSx is undefined or PSx changed by user, update FIG_USER_PSx. if [[ -z "${FIG_USER_PS1+x}" || "${PS1}" != "${FIG_LAST_PS1}" ]]; then