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

Commit

Permalink
Merge pull request #5 from withfig/mschrage/fish-fix
Browse files Browse the repository at this point in the history
Fix fish warning by disowning background process
  • Loading branch information
mschrage authored May 10, 2021
2 parents bc2fbc2 + ac88d28 commit ba436d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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
3 changes: 1 addition & 2 deletions tools/install_and_upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ba436d8

Please sign in to comment.