From e3f2c9ecbea123f7986c143281dd263a860b6cb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20M=C3=BCller?= Date: Mon, 19 Jan 2026 08:00:00 +0000 Subject: [PATCH] Add weekly update script --- scripts/update-all.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 scripts/update-all.sh diff --git a/scripts/update-all.sh b/scripts/update-all.sh new file mode 100755 index 0000000..9b881ce --- /dev/null +++ b/scripts/update-all.sh @@ -0,0 +1,17 @@ +#!/bin/bash +# Update everything. Run on Monday mornings with coffee. +set -e + +echo "==> Updating apt..." +sudo apt update && sudo apt upgrade -y + +echo "==> Updating Rust toolchain..." +rustup update + +echo "==> Updating cargo-installed tools..." +cargo install-update -a 2>/dev/null || echo "(cargo-update not installed, skipping)" + +echo "==> Updating Neovim plugins..." +nvim --headless "+Lazy! update" +qa + +echo "==> Done. Have a good week."