Skip to content

Add Brewfile.local and a Ghostty config.local for local overrides - #12

Merged
maximn merged 1 commit into
mainfrom
brewfile-local-ghostty-local
Oct 18, 2026
Merged

maximn merged 1 commit into
mainfrom
brewfile-local-ghostty-local

Conversation

@maximn

@maximn maximn commented Oct 14, 2026

Copy link
Copy Markdown
Owner

Lets people customize the setup without editing tracked files, so git pull && ./setup.sh (which the README recommends) doesn't run into merge conflicts.

  • Brewfile.local is ignored by git. If it exists, setup.sh runs brew bundle on it after the main Brewfile, and its failures are listed at the end like the main Brewfile's. It only adds packages: dropping one of the repo's still means editing the Brewfile.
  • Ghostty config.local: setup.sh adds config-file = ?config.local right after the repo's config-file line. Ghostty loads included files in the order they're listed, so settings there override the repo's. The ? makes the file optional, and the path is relative, so it resolves next to your Ghostty config. Existing setups get the line on their next ./setup.sh.
  • README: documents both files.
  • CI: the macOS setup job writes a Brewfile.local with brew "hello" before the first run and checks that it got installed. The existing check that a second run changes nothing covers the new Ghostty line.

Tested locally: the Ghostty step on a new config and on an existing one, run twice each. It added the line after the repo's, and the second run changed nothing. The brew bundle part only runs on macOS, so this PR's CI run is its test.

🤖 Generated with Claude Code

Brewfile.local is ignored by git and installed after the Brewfile, so
your own additions never conflict with `git pull`. Ghostty gets a
`config-file = ?config.local` line after the repo's, so settings there
override the repo's. CI installs a package from a Brewfile.local to
prove it's picked up.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maximn
maximn merged commit 43c4c51 into main Oct 18, 2026
5 checks passed
@maximn
maximn deleted the brewfile-local-ghostty-local branch October 18, 2026 20:28
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