Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Terminal query responses leak into .zshrc parsing since 37acbc87?



On Wed, Mar 25, 2026 at 1:59 PM Mikel Ward <mikel@xxxxxxxxxxxxx> wrote:
>
> Using the terminal inside VS Code (TERM=xterm-256color TERM_PROGRAM=vscode), I'm getting an error when starting recent versions of zsh. It seems to have been introduced in 37acbc87ad76699679ccb8b567effac9177c33de, and gotten a bit worse since.
>
> /home/mikel/.zshrc:1918: not an identifier: .term.extensions

That's an odd error, because it seems as if the termquery probe is
being performed by a version of zsh that doesn't understand
namespaces.

If you are building the latest git head locally, does
  make check TESTNUM=X06
pass without errors?

> Line 1918 that triggers it is "compctl -C -cf", but it happens even if I delete that line.

The "it" that happens is what exactly?  That is, do you mean that "not
an identifier" goes away, but the goop in the prompt remains?  Or
something else?




Messages sorted by: Reverse Date, Date, Thread, Author