From 9bd3dd935b21cfa35c1f7970eacdea436ebb0265 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 14 Sep 2025 10:04:29 +0300 Subject: Update --- dotfiles/fish/conf.d/update.fish | 13 +++++++++---- 1 file 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 -- cgit v1.2.3