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

Commit

Permalink
fix: disown background processes so fish can be execd or quit without…
Browse files Browse the repository at this point in the history
… warning
  • Loading branch information
mschrage committed May 7, 2021
1 parent af02a2f commit 3081ab9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fig.fish
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ if [ -d /Applications/Fig.app -o -d ~/Applications/Fig.app ] && command -v fig 1
end
function fig_precmd --on-event fish_prompt
fig bg:prompt $fish_pid (tty) &
fig bg:prompt $fish_pid (tty) &; disown
end
function fig_preexec --on-event fish_preexec
fig bg:exec $fish_pid (tty) &
fig bg:exec $fish_pid (tty) &; disown
end
set FIG_SHELL_VAR 1
Expand Down

0 comments on commit 3081ab9

Please sign in to comment.