Skip to content

Add Homebrew (Apple Silicon) initialization to dot_zshrc - #17

Merged
caipira113 merged 1 commit into
mainfrom
worktree/check-zsh-configuration
Jul 31, 2026
Merged

Add Homebrew (Apple Silicon) initialization to dot_zshrc#17
caipira113 merged 1 commit into
mainfrom
worktree/check-zsh-configuration

Conversation

@caipira113

@caipira113 caipira113 commented Jul 31, 2026

Copy link
Copy Markdown
Member

Motivation

  • Ensure Homebrew-installed tools are available in zsh on macOS Apple Silicon by initializing the Homebrew environment when present.

Description

  • Add a conditional to dot_zshrc that checks OSTYPE for darwin* and the presence of /opt/homebrew/bin/brew and runs eval "$(/opt/homebrew/bin/brew shellenv zsh)" to set up Homebrew's environment.

Testing

  • No automated tests were run.

Codex Task


Open in Devin Review

Note

Low Risk
Small, guarded shell startup change with no auth or data handling impact; only affects macOS sessions where Homebrew is installed.

Overview
Homebrew on Apple Silicon is now initialized at the top of dot_zshrc, before the existing Nix block.

On darwin* hosts, if /opt/homebrew/bin/brew is executable, the shell runs eval "$(/opt/homebrew/bin/brew shellenv zsh)" so Homebrew’s PATH and related env vars are available in interactive zsh sessions.

Reviewed by Cursor Bugbot for commit e2e7752. Bugbot is set up for automated code reviews on this repo. Configure here.

@caipira113
caipira113 merged commit 02e18b0 into main Jul 31, 2026
9 of 10 checks passed

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant