summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/fish/conf.d/update.fish13
1 files changed, 9 insertions, 4 deletions
diff --git a/dotfiles/fish/conf.d/update.fish b/dotfiles/fish/conf.d/update.fish
index 827c062..8db8e29 100644
--- a/dotfiles/fish/conf.d/update.fish
+++ b/dotfiles/fish/conf.d/update.fish
@@ -29,16 +29,17 @@ function update::tools
set -a pids $last_pid
end
- for pid in $pids
- wait $pid
- end
-
if test (uname) = Darwin
echo 'Updating cursor-agent on macOS'
cursor-agent update
end
+ set -a pids $last_pid
if test (uname) = Linux
+ eco "Installing/updating tgpt"
+ go install github.com/aandrew-me/tgpt/v2@latest &
+ set -a pids $last_pid
+
for prog in gos gitsyncer
echo "Installing/updating $prog from codeberg.org/snonux/$prog/cmd/$prog@latest"
go install codeberg.org/snonux/$prog/cmd/$prog@latest
@@ -67,4 +68,8 @@ function update::tools
doas npm uninstall -g opencode-ai
doas npm install -g opencode-ai
end
+
+ for pid in $pids
+ wait $pid
+ end
end