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

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



Hi


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.


My .zshrc doesn't have any apparent corruption or non-printing characters. Line 1918 that triggers it is "compctl -C -cf", but it happens even if I delete that line.


Repro below.


Thanks!


HEAD

$ /usr/local/bin/zsh

/home/mikel/.zshrc:1918: not an identifier: .term.extensions

^[]10;rgb:3333/3333/3333^[\^[]12;rgb:3333/3333/3333^[\^[P>|xterm.js(6.1.0-beta.191)^[\^[[?1;2c%  


37acbc87ad76699679ccb8b567effac9177c33de

$ /usr/local/bin/zsh

/home/mikel/.zshrc:1918: not an identifier: .term.extensions


37acbc87ad76699679ccb8b567effac9177c33de^ (0d76a82c77706e6ab2adbb91d1d306824dfa6f33)

$ /usr/local/bin/zsh

(normal output, no error)


$ git show 37acbc87ad76699679ccb8b567effac9177c33de

commit 37acbc87ad76699679ccb8b567effac9177c33de (HEAD)

Author: Oliver Kiddle <opk@xxxxxxx>

Date:   2025-11-10 20:02:20


    53372, 53375: query terminal properties on ZLE startup





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