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 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"