From af02a2f868d1342aeb60a06cfa75aea1890c46ec Mon Sep 17 00:00:00 2001 From: Matt Schrage Date: Fri, 30 Apr 2021 19:15:07 -0700 Subject: [PATCH 1/2] feat: load specs from waitlist.withfig.com/specs --- tools/install_and_upgrade.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/install_and_upgrade.sh b/tools/install_and_upgrade.sh index ff2ba18..6a461b3 100755 --- a/tools/install_and_upgrade.sh +++ b/tools/install_and_upgrade.sh @@ -79,8 +79,7 @@ install_fig() { cd ~/.fig/autocomplete { - curl https://codeload.github.com/withfig/autocomplete/tar.gz/master | \ - tar -xz --strip-components=2 autocomplete-master/specs + curl -s "https://waitlist.withfig.com/specs?version=latest" | tar -xz --strip-components=1 specs } || { error "pulling latest autocomplete files failed" From 3081ab98ee2a49fa8b4edfaa113007a44970fc07 Mon Sep 17 00:00:00 2001 From: Matt Schrage Date: Thu, 6 May 2021 22:48:45 -0700 Subject: [PATCH 2/2] fix: disown background processes so fish can be execd or quit without warning --- fig.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fig.fish b/fig.fish index 7cd8369..67a027f 100644 --- a/fig.fish +++ b/fig.fish @@ -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