Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ShellArea: what it touches
Internal ChangesKind: in v2.1.327,
Internal ChangesSection of the release
What
When Claude Code starts the shell it uses to run commands, it now checks that shell's environment in a separate, detached process and waits for it to finish. It also reads your shell start-up files (the rc files, such as .zshrc, that run each time a shell opens). It looks for three things in them:
references to tty, the terminal the shell is attached to
COLUMNS, the terminal width setting
ZDOTDIR, the setting that tells zsh where its start-up files live
After a command runs, Claude Code reads back which folder the shell ended up in. If that folder is reached through a network link, or through a folder or link it could not check, Claude Code now says it is keeping the previous working folder. Before, the message only covered network links and junctions.
Why
These changes affect how Claude Code sets up the shell it runs commands in, and how it keeps track of which folder those commands run from.