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:
@@ -18,11 +18,12 @@ for url in "${vim_plugins[@]}"; do
|
||||
name=$(basename "$url" .git)
|
||||
dest="$vim_pack_dir/$name"
|
||||
if [[ -d "$dest" ]]; then
|
||||
git -C "$dest" pull --quiet
|
||||
log_pass "$name updated"
|
||||
git -C "$dest" pull --quiet &
|
||||
else
|
||||
git clone --depth 1 --quiet "$url" "$dest"
|
||||
log_pass "$name installed"
|
||||
git clone --depth 1 --quiet "$url" "$dest" &
|
||||
fi
|
||||
done
|
||||
wait
|
||||
|
||||
log_pass "vim plugins configured"
|
||||
vim --version 2>/dev/null | sed -n '1p' | log_quote
|
||||
|
||||
Reference in New Issue
Block a user