Fix dotfiles install on a fresh Mac#981
Merged
Merged
Conversation
5c488cf to
64e3e81
Compare
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>
64e3e81 to
90e5a82
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A run-through of
./install.shon a brand-new macOS machine surfaced a pile of breakages. This branch fixes them so a fresh Mac bootstraps cleanly.Highlights:
path_helperlands/opt/homebrew/binafter/bin, so a bareadd_pathno-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/shellsandchshto it during install (oh-my-posh's generated init needs bash 4.2+ syntax).brew trustthe taps we use sobrew bundlecan load them.--headless, and unzipSpoonInstall.spoonstraight into~/.hammerspoon/Spoons(previouslyopen-ing the zip never actually installed it).debounceis a compiled binary that execs its argument and can't call a bash function directly. Export the functions and invoke them viabash -c, read keypresses from/dev/tty, and derive the metacpan artifact name fromgit describeinstead of a hardcoded version.configure/macos.shon install (so the dock auto-hides), and fix itsis os name ne darwinguard.tailscaleto the GUI cask's bundled CLI; addhugo; dropmacdownand the unusedcz.shinstaller.override_denytobypass_protection.$SHELLinstead ofenv bashfordefault-command.Test plan
./install.shend-to-end on a fresh macOS machine🤖 Generated with Claude Code