{"version":"2.1.323","anchor":"shell-snapshot-prefix-hardened","canonical_anchor":"shell-snapshot-prefix-hardened","heading":"Shell commands are protected from your own shell aliases and zsh options","tier":"notice","area":"Bash Tool","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323\/e\/shell-snapshot-prefix-hardened","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323","markdown":"### Shell commands are protected from your own shell aliases and zsh options\n\nClaude Code's shell setup now ignores aliases or functions named shopt or setopt and turns off two more zsh options\n\n**What**\n\nBefore running commands, Claude Code sets a few shell options so that wildcard patterns behave predictably. It now calls the shell's own built-in commands directly, so an alias or function you have defined with the same name as `shopt` or `setopt` cannot get in the way. For zsh it also turns off two more options:\n\n- `NO_BRACE_CCL`\n\n- `NO_MAGIC_EQUAL_SUBST`\n\n**Why**\n\nCommands Claude runs behave more predictably under zsh and with a customised shell.\n\n- Area: Bash Tool\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}