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:
@@ -23,11 +23,13 @@ if ! command -v tmux &> /dev/null; then
|
||||
esac
|
||||
fi
|
||||
|
||||
tmux -V | log_quote
|
||||
|
||||
# Compile screensaver
|
||||
# Compile screensaver (skip if binary is newer than source)
|
||||
if command -v cc &> /dev/null && [ -f "$HOME/.tmux/donut.c" ]; then
|
||||
cc -O2 -o "$HOME/.tmux/donut" "$HOME/.tmux/donut.c" -lm
|
||||
log_pass "Compiled donut screensaver"
|
||||
if [ ! -f "$HOME/.tmux/donut" ] || [ "$HOME/.tmux/donut.c" -nt "$HOME/.tmux/donut" ]; then
|
||||
cc -O2 -o "$HOME/.tmux/donut" "$HOME/.tmux/donut.c" -lm
|
||||
fi
|
||||
fi
|
||||
|
||||
log_pass "tmux configured"
|
||||
tmux -V | log_quote
|
||||
|
||||
|
||||
Reference in New Issue
Block a user