From 91fe8ad0f5bd91b2d271ec398df15e1273f2b089 Mon Sep 17 00:00:00 2001 From: Kaan Barmore-Genc Date: Sat, 15 Nov 2025 21:48:14 -0600 Subject: [PATCH] Add GitHub CLI to setup script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Install gh (GitHub CLI) via Homebrew and prompt for authentication if not already logged in. This enables GitHub automation and CLI workflows during initial setup. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- setup.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/setup.sh b/setup.sh index f8bf6aa..3c40326 100755 --- a/setup.sh +++ b/setup.sh @@ -23,6 +23,7 @@ PACKAGES=( fish dust eza + gh htop go jq @@ -68,6 +69,18 @@ else echo "Skipping macOS-specific casks (not on macOS)" fi +# Set up GitHub CLI authentication +if command -v gh &> /dev/null; then + if ! gh auth status &>/dev/null; then + echo "" + echo "GitHub CLI is installed but not authenticated." + echo "Please log in to GitHub CLI:" + gh auth login + else + echo "✓ GitHub CLI already authenticated" + fi +fi + echo "✓ Setup complete!" echo "" echo "Next steps:"