17 lines
438 B
Bash
Executable file
17 lines
438 B
Bash
Executable file
#!/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."
|