Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Remove "& disown" from bg:exec hooks #52

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions shell/post.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down