Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.186 ·

macOS Bash Profile Detection Follows Standard Lookup Order

Entry
JSON All of v2.1.186
EntryKind: in v2.1.186,
ImprovementsSection of the release

On macOS, the bash shell profile path is now determined using the standard precedence: .bash_profile → .bash_login → .profile, matching what macOS bash itself does.

Details
  • Previously Claude Code always used .bashrc on all platforms.
  • On macOS (darwin), it now checks for each file in order and uses the first one found, falling back to .bash_profile if none exist.
  • On Linux, .bashrc is still used.
  • .bashrc is still returned separately (as bashrc:) on macOS for reference.
Evidence

New platform-aware profile resolution in z0e function (search for ".bash_profile" in the added functions)

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.186 →

Feedback