{"version":"2.1.327","anchor":"shell-snapshot-head-start-and-stale-snapshot-handling","canonical_anchor":"shell-snapshot-head-start-and-stale-snapshot-handling","heading":"Shell setup can be prepared ahead of time before commands run","tier":"notice","area":"Shell","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/shell-snapshot-head-start-and-stale-snapshot-handling","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Shell setup can be prepared ahead of time before commands run\n\nClaude Code can now prepare its copy of your bash setup before the first command, and resets it when it is out of date\n\n**What**\n\nBefore running shell commands, Claude Code takes a snapshot of your bash setup, such as your aliases and settings, so commands behave as they do in your own terminal. Before, the snapshot was made when a command was about to run. Now:\n\n- the snapshot can be started ahead of time\n\n- if the snapshot is too old, the shell setup is reset\n\n- PowerShell gets an extra step before each command runs\n\nA piece of handling for leftover input at the end of a command was also removed from the step that runs commands.\n\n**Why**\n\nPreparing the snapshot early can shorten the wait before the first command runs, and resetting an old snapshot keeps commands from running with outdated settings.\n\n- Area: Shell\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}