{"version":"2.1.327","anchor":"shell-snapshot-can-be-deferred-to-the-first-command","canonical_anchor":"shell-snapshot-can-be-deferred-to-the-first-command","heading":"Shell snapshot can be left until the first command runs","tier":"notice","area":"Shell","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/shell-snapshot-can-be-deferred-to-the-first-command","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Shell snapshot can be left until the first command runs\n\nIn some cases Claude Code no longer builds its shell snapshot at start-up and leaves it for the first shell command to build\n\n**Unclear.** Which sessions get the snapshot built at the first command instead of at start-up.\n\n**What**\n\nClaude Code takes a shell snapshot, a saved copy of your shell's setup such as aliases and functions, so the commands it runs behave like the ones in your terminal. Before, it always built this when a session started. Now, in some cases, it skips that at start-up and leaves the snapshot for the first shell command to build, noting \"Shell snapshot: left for the first command to build\" in its log.\n\n**Why**\n\nThis could make sessions start faster, with the snapshot work moved to the first command instead.\n\n- Area: Shell\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}