diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-15 22:46:50 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-15 22:46:50 +0300 |
| commit | 0968136a31f8841f89eb02318bc4f9b53cb19dd5 (patch) | |
| tree | c0ca0746ac2305949722b10fde99f90caf2cd4f2 | |
| parent | 6b92af9004e5107d4767401424331b8dd8e1f710 (diff) | |
Update
| -rw-r--r-- | dotfiles/fish/conf.d/update.fish | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dotfiles/fish/conf.d/update.fish b/dotfiles/fish/conf.d/update.fish index 4ff06cd..f27909d 100644 --- a/dotfiles/fish/conf.d/update.fish +++ b/dotfiles/fish/conf.d/update.fish @@ -3,9 +3,15 @@ function update::tools go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest echo "Installing/updating goimports" go install golang.org/x/tools/cmd/goimports@latest + + set pids for prog in tasksamurai timr echo "Installing/updating $prog from codeberg.org/snonux/$prog/cmd/$prog@latest" - go install codeberg.org/snonux/$prog/cmd/$prog@latest + go install codeberg.org/snonux/$prog/cmd/$prog@latest & + set -a pids $last_pid + end + for pid in $pids + wait $pid end if test (uname) = Linux for prog in gos gitsyncer |
