Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.186 ·

Shell Variable Tracking: More zsh Variables Covered

Entry
JSON All of v2.1.186
EntryKind: in v2.1.186,
ImprovementsSection of the release

The shell variable static tracker now recognizes additional zsh-specific variables and handles several edge cases correctly.

Details
  • Added to the safe-to-track list: FIGNORE/fignore, PSVAR/psvar, WATCH/watch, HISTCHARS/histchars, PS1/PROMPT/prompt, PS2/PROMPT2, PS3/PROMPT3, PS4.
  • PROMPT4 is now correctly recognized as equivalent to PS4 and treated the same way.
  • The -T flag (zsh tied variable pairs) is now correctly flagged as too complex to track statically.
  • Shell negation (!cmd) parsing now properly emits a negated_command AST node instead of silently returning null, preventing misclassification of negated commands.
Evidence

Extended variable list and parser fix (search for "FIGNORE" in the structural changes and "' with -i/-E/-F flag")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.186 →

Feedback