Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Shell setup capture on Windows Git Bash reads aliases and functions differently

On Windows bash such as Git Bash, Claude Code captures your aliases and functions in a new, more guarded way and skips winpty aliases

You'll notice Improvements
JSON All of v2.1.333
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WindowsArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release

Unclear It is not stated which flag controls this or what it falls back to, so whether it applies to you is unknown.

What

Claude Code runs a script that captures your shell setup, including aliases and functions. It has a new path for bash on Windows (msys or cygwin, such as Git Bash) at version 5.02 or later:

  • aliases and functions are read with safety checks
  • winpty aliases are skipped
  • it applies to .bashrc on systems other than macOS

This path sits behind a flag that Anthropic's servers control.

Why

This can fix problems capturing your shell setup on Windows.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not stated which flag controls this or what it falls back to, so whether it applies to you is unknown.

See this entry in the whole of v2.1.333 →

Feedback