Skip to content

Instantly share code, notes, and snippets.

View fdmonroy's full-sized avatar
πŸ’»
hackin

Daniel Monroy fdmonroy

πŸ’»
hackin
View GitHub Profile
@fdmonroy
fdmonroy / bootstrap.sh
Last active May 5, 2026 09:36
dotfiles bootstrap β€” fdmonroy/dotfiles
#!/bin/bash
# Bootstrap launcher β€” lives in a public gist.
# Authenticates gh CLI, then pulls and runs the real bootstrap from the private repo.
set -uo pipefail
# ── Homebrew ──────────────────────────────────────────────────────
if ! command -v brew &>/dev/null; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
[[ -f "/opt/homebrew/bin/brew" ]] && eval "$(/opt/homebrew/bin/brew shellenv)"