{"version":"2.1.331","anchor":"shell-snapshot-reuse-probe-replaced-by-remembered-login-path","canonical_anchor":"shell-snapshot-reuse-probe-replaced-by-remembered-login-path","heading":"Bash on Windows can reuse a remembered login PATH to start faster","tier":"soon","area":"Windows","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/shell-snapshot-reuse-probe-replaced-by-remembered-login-path","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Bash on Windows can reuse a remembered login PATH to start faster\n\nOn Windows with bash, Claude Code can reuse a saved login PATH unless you have your own startup files, `BASH_ENV` or the opt-out set\n\n**What**\n\nBefore running commands, Claude Code sets up a shell, the program that runs commands. On Windows with bash, it can now save your login PATH, the list of folders searched for programs, in a `login-path-<hash>.sh` file and reuse it next time. This replaces an earlier diagnostic check, and a delayed Windows diagnostic report was removed.\n\nReuse is skipped when:\n\n- you have your own shell startup files\n\n- `BASH_ENV` is set\n\n- `CLAUDE_CODE_DISABLE_SHELL_HEAD_START` is set\n\n- a script was added, the saved copy is too old, or the folder is unknown\n\nThe environment variables Claude Code keeps for the shell now also include `SYSTEMROOT`, `WINDIR`, `POSIXLY_CORRECT` and variables starting with `CYGWIN`. The new behaviour sits behind a switch controlled from Anthropic's servers.\n\n**Why**\n\nReusing the saved PATH should make the shell start faster. If it causes trouble, `CLAUDE_CODE_DISABLE_SHELL_HEAD_START` turns it off.\n\n- Flag `tengu_compressed_whisper`: Not enough to say (read for one account on one subscription tier against v2.1.331; this account: no value returned, anonymous baseline: no value returned, compiled default: on) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Flag `tengu_mossy_lantern`: On for this account, and not off by default (read for one account on one subscription tier against v2.1.331; this account: on, anonymous baseline: on, compiled default: not a boolean we can read) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Windows\n- Tier: Nothing to try yet\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}