{"version":"2.1.333","anchor":"bash-snapshot-on-windows-git-bash-captures-aliases-and-funct","canonical_anchor":"bash-snapshot-on-windows-git-bash-captures-aliases-and-funct","heading":"Shell setup capture on Windows Git Bash reads aliases and functions differently","tier":"notice","area":"Windows","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/bash-snapshot-on-windows-git-bash-captures-aliases-and-funct","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Shell setup capture on Windows Git Bash reads aliases and functions differently\n\nOn Windows bash such as Git Bash, Claude Code captures your aliases and functions in a new, more guarded way and skips winpty aliases\n\n**Unclear.** It is not stated which flag controls this or what it falls back to, so whether it applies to you is unknown.\n\n**What**\n\nClaude 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:\n\n- aliases and functions are read with safety checks\n\n- winpty aliases are skipped\n\n- it applies to `.bashrc` on systems other than macOS\n\nThis path sits behind a flag that Anthropic's servers control.\n\n**Why**\n\nThis can fix problems capturing your shell setup on Windows.\n\n- Area: Windows\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}