summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-14 10:04:29 +0300
committerPaul Buetow <paul@buetow.org>2025-09-14 10:04:29 +0300
commit9bd3dd935b21cfa35c1f7970eacdea436ebb0265 (patch)
tree8d6f112b9d849953b9eeafd81041e4d525d7e0ef
parentd76b5c2ad3b2cca8b699589cc95e90afb28da678 (diff)
Update
-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