{"version":"2.1.302","anchor":"resume-advice-command-can-carry-an-env-assignment-prefix","canonical_anchor":"resume-advice-command-can-carry-an-env-assignment-prefix","heading":"The suggested resume command can include an environment variable","tier":"notice","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.302\/e\/resume-advice-command-can-carry-an-env-assignment-prefix","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.302","markdown":"### The suggested resume command can include an environment variable\n\nThe command Claude Code suggests for resuming a session can now start with an environment variable setting, such as `X=1 claude --resume `\n\n**What**\n\nWhen Claude Code shows you a command to pick up a session again, that command can now begin with an environment variable setting. An environment variable is a named value handed to a program when it starts. For example, the hint can read `X=1 claude --resume <id>` instead of `claude --resume <id>`. This applies to the forms that use `--resume`, `--worktree` and `-w`. Before, the command always started with plain `claude`.\n\n**Why**\n\nIf your session depends on an environment variable, copying the suggested command can bring that setting back too.\n\n- Area: Sessions\n- Names: `--resume`, `--worktree`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}