perf: install env checks

This commit is contained in:
2025-12-23 20:53:55 +02:00
parent a286817ce3
commit 891ae505f8
30 changed files with 492 additions and 490 deletions

View File

@@ -5,11 +5,10 @@
# (macOS only) Install iTerm2.
#
if [[ "$OSTYPE" == "darwin"* ]]; then
if ! brew list --cask iterm2 &>/dev/null; then
brew install --cask iterm2
fi
log_pass "iTerm2 installed successfully!"
else
log_warn "Skipping: Not macOS"
# macOS only
[[ "$DOTS_OS" != "macos" ]] && { log_warn "Skipping: Not macOS"; return 0; }
if ! brew list --cask iterm2 &>/dev/null; then
brew install --cask iterm2
fi
log_pass "iTerm2 installed successfully!"