how to disable WT_SETTINGS_DIR for nonportable Windows Terminal? #22310

Closed
opened 2026-01-31 08:09:29 +00:00 by claunia · 4 comments
Owner

Originally created by @candrapersada on GitHub (Sep 24, 2024).

How to disable WT_SETTINGS_DIR for Windows Terminal installed from the Microsoft Store?
and enable WT_SETTINGS_DIR from Environment Variables

Originally created by @candrapersada on GitHub (Sep 24, 2024). How to disable `WT_SETTINGS_DIR` for `Windows Terminal` installed from the Microsoft Store? and enable `WT_SETTINGS_DIR` from `Environment Variables`
claunia added the Needs-TriageNeeds-Tag-Fix labels 2026-01-31 08:09:29 +00:00
Author
Owner

@DHowett commented on GitHub (Sep 24, 2024):

Can you explain your use case a bit more? WT_SETTINGS_DIR is expected to point to the actual settings directory Terminal was started with; it cannot use and does not use the one you set. Did you add one to your environment block so that you could use it to refer to WT settings you stored somewhere other than the settings directory?

@DHowett commented on GitHub (Sep 24, 2024): Can you explain your use case a bit more? `WT_SETTINGS_DIR` is expected to point to the actual settings directory Terminal was started with; it cannot use and does not use the one you set. Did you add one to your environment block so that you could use it to refer to WT settings you stored somewhere _other than_ the settings directory?
Author
Owner

@candrapersada commented on GitHub (Sep 24, 2024):

Did you add one to your environment block so that you could use it to refer to WT settings you stored somewhere other than the settings directory?

yes to change the settings location with use Environment Variables

@candrapersada commented on GitHub (Sep 24, 2024): > Did you add one to your environment block so that you could use it to refer to WT settings you stored somewhere _other than_ the settings directory? yes to change the settings location with use `Environment Variables`
Author
Owner

@DHowett commented on GitHub (Sep 24, 2024):

Terminal does not read the location of its settings file from that variable. It never has. :)

@DHowett commented on GitHub (Sep 24, 2024): Terminal does not read the location of its settings file from that variable. It never has. :)
Author
Owner

@DHowett commented on GitHub (Sep 24, 2024):

We are not planning on supporting a configurable settings location using an environment variable right now. Sorry!

@DHowett commented on GitHub (Sep 24, 2024): We are not planning on supporting a configurable settings location using an environment variable right now. Sorry!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22310