Prevent Windows Terminal from (needlessly) changing settings.json #19146

Open
opened 2026-01-31 06:35:05 +00:00 by claunia · 0 comments
Owner

Originally created by @skrysm on GitHub (Dec 27, 2022).

Discussed in https://github.com/microsoft/terminal/discussions/14380

Originally posted by skrysmanski November 13, 2022
I have a "hand crafted" settings.json since the earliest days of Windows Terminal. I have this file under version control (via Git).

The current version of Windows Terminal (1.15) seems to overwrite/rewrite my settings.json every time Windows Terminal is opened/closed.

Is there any way to prevent Windows Terminal from doing this?

It is, of course, okay that WT rewrites the file if I use the settings UI to change some settings. But it shouldn't do this if I don't use the UI.

Originally created by @skrysm on GitHub (Dec 27, 2022). ### Discussed in https://github.com/microsoft/terminal/discussions/14380 <div type='discussions-op-text'> <sup>Originally posted by **skrysmanski** November 13, 2022</sup> I have a "hand crafted" `settings.json` since the earliest days of Windows Terminal. I have this file under version control (via Git). The current version of Windows Terminal (1.15) seems to overwrite/rewrite my `settings.json` every time Windows Terminal is opened/closed. Is there any way to prevent Windows Terminal from doing this? It is, of course, okay that WT rewrites the file if I use the settings UI to change some settings. But it shouldn't do this if I don't use the UI.</div>
claunia added the Issue-QuestionNeeds-TriageNeeds-Tag-FixResolution-Answered labels 2026-01-31 06:35:05 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19146