Files
dotfiles/script/install.d/30-iterm2.sh
2025-06-04 17:17:25 +01:00

16 lines
397 B
Bash

#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Description:
# (macOS only) Install iTerm2.
#
if [[ "$OSTYPE" == "darwin"* ]]; then
if ! brew list --cask iterm2 &>/dev/null; then
brew install --cask iterm2
fi
echo -e "${GREEN}iTerm2 installed successfully!${NC}"
else
echo -e "${YELLOW}Skipping: Not macOS${NC}"
fi