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

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




On Thu, 26 Mar 2026, 22:13 Bart Schaefer, <schaefer@xxxxxxxxxxxxxxxx> wrote:
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.

Thanks. I'll try putting a debug message at the top of my .zshrc to confirm which version of zsh is involved.

I also discovered that my preprompt is running less, unintentionally, under certain edge cases. I wonder if that's involved. Will check next time I'm at my computer.

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

Will check next time I'm at my computer.

> 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

Yes, the error message goes away.


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