Skip to content

Fix dotfiles install on a fresh Mac#981

Merged
oalders merged 4 commits into
mainfrom
fix-new-mac-install
Jul 10, 2026
Merged

Fix dotfiles install on a fresh Mac#981
oalders merged 4 commits into
mainfrom
fix-new-mac-install

Conversation

@oalders

@oalders oalders commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Summary

A run-through of ./install.sh on a brand-new macOS machine surfaced a pile of breakages. This branch fixes them so a fresh Mac bootstraps cleanly.

Highlights:

  • Homebrew bash wins over system bash 3.2path_helper lands /opt/homebrew/bin after /bin, so a bare add_path no-ops and the ancient system bash keeps shadowing Homebrew's. Strip the stale entry first and force it to the front. Also register the Homebrew bash in /etc/shells and chsh to it during install (oh-my-posh's generated init needs bash 4.2+ syntax).
  • Homebrew taps — Homebrew 6+ ignores third-party taps unless trusted; brew trust the taps we use so brew bundle can load them.
  • Headless / non-TUI fixes — install the Nerd Font with --headless, and unzip SpoonInstall.spoon straight into ~/.hammerspoon/Spoons (previously open-ing the zip never actually installed it).
  • Alfred workflowsdebounce is a compiled binary that execs its argument and can't call a bash function directly. Export the functions and invoke them via bash -c, read keypresses from /dev/tty, and derive the metacpan artifact name from git describe instead of a hardcoded version.
  • macOS defaults — run configure/macos.sh on install (so the dock auto-hides), and fix its is os name ne darwin guard.
  • Casks — install Google Chrome and Tailscale via Homebrew; alias tailscale to the GUI cask's bundled CLI; add hugo; drop macdown and the unused cz.sh installer.
  • nono profile — switch override_deny to bypass_protection.
  • tmux — use $SHELL instead of env bash for default-command.

Test plan

  • Run ./install.sh end-to-end on a fresh macOS machine
  • Confirm Homebrew bash is the login shell and on PATH ahead of system bash
  • Confirm Spoons load in Hammerspoon

🤖 Generated with Claude Code

@oalders oalders force-pushed the fix-new-mac-install branch from 5c488cf to 64e3e81 Compare July 4, 2026 23:06
oalders and others added 4 commits July 9, 2026 14:47
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The tailscale-app cask bundles the CLI but doesn't put it on PATH.
Aliasing the bundled binary avoids the tailscaled conflict that the
tailscale formula would introduce.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- add-my-keys.sh: accept a GitHub user arg, lock down ~/.ssh dir perms,
  use curl -f to fail on HTTP errors, and use grep -qxF for exact matches
- brew/local-only: add aerospace, element casks and nikitabobko/tap
- homebrew.sh: trust nikitabobko/tap

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@oalders oalders force-pushed the fix-new-mac-install branch from 64e3e81 to 90e5a82 Compare July 9, 2026 19:06
@oalders oalders merged commit 33a01a9 into main Jul 10, 2026
2 checks passed
@oalders oalders deleted the fix-new-mac-install branch July 10, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant