chore(install): optimize logging, speed, cleanup

- Version logged after [PASS] (not before) across all scripts
- Pre-cache brew package lists with log_info progress
- Read brew version from git describe cache (skip Ruby startup)
- Batch mise use -g calls (single invocation for all tools)
- Replace mise verify step with mise ls --current
- Parallel vim plugin pulls
- Skip donut compile when binary is fresh
- Pre-check macOS defaults before writing (skip fsync when unchanged)
- Pre-check dock state before dockutil calls
- Remove redundant 'already installed' skip logs
- Remove meetingbar and wispr-flow install scripts
- Renumber scripts to fill gaps

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-03-24 18:09:17 +00:00
parent 4324a3f449
commit b62a6c00f9
23 changed files with 88 additions and 204 deletions

28
install.d/75-cmatrix.sh Executable file
View File

@@ -0,0 +1,28 @@
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Description:
# Install cmatrix.
#
# skip if in Codespaces
[[ "$DOTS_ENV" == "codespaces" ]] && { log_skip "Codespaces"; return 0; }
if ! command -v cmatrix &> /dev/null; then
case "$DOTS_PKG" in
apt)
sudo apt-get install -qq cmatrix &>/dev/null
;;
pacman)
sudo pacman -S --noconfirm cmatrix &>/dev/null
;;
brew)
brew install cmatrix
;;
*)
log_warn "Skipping cmatrix install: no supported package manager found"
;;
esac
fi
log_pass "cmatrix installed"
command -v cmatrix &> /dev/null && cmatrix -V 2>&1 | sed -n '1p' | log_quote