Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

PWD and OLDPWD now count as risky variables in the Bash env-var check

PWD and OLDPWD now always count as risky variables when the Bash check decides whether rm or cd can take the quick path

Entry
JSON All of v2.1.281
EntryKind: in v2.1.281,
ChangesSection of the release
What

PWD holds the shell's current folder and OLDPWD holds the previous one. When Claude Code decides whether an rm or cd command can take its quick path, any reference to these two now always counts as risky and rules the quick path out.

The same check now also looks at:

  • the command's arguments
  • files named after < (input redirection, which feeds a file into a command)
Why

In practice, more commands that mention these variables, or that use them in arguments or redirects, are kept off the quick path.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding does not say what the quick path skips, such as whether it means running without asking.

See this entry in the whole of v2.1.281 →

Feedback