Provide manual refresh of settings.json or have refresh code follow symlinks #8607

Open
opened 2026-01-31 01:33:40 +00:00 by claunia · 0 comments
Owner

Originally created by @brianpepin on GitHub (May 26, 2020).

Provide a way to manually refresh Terminal's reading of settings.json or have the update sniff follow symbolic links.

I like to keep important state for my dev machine in a git repo so I can blow away the machine and easily recreate it if I need to. I have settings.json living in this repo and I've created a symbolic link at the original location. This all works fine. But now if I change settings I need to close reopen terminal windows -- the changes are not automatically updated. It would be great if there was a way to trigger a re-parse of settings, or have Terminal follow symbolic links and monitor their targets for changes (I couldn't use a hard link -- different drives).

Proposed technical implementation details (optional)

Ideally the file change monitor for settings would detect if settings is using a symlink and monitor the target. Less ideally, but probably useful in more situations is to have an option to reload settings manually.

Originally created by @brianpepin on GitHub (May 26, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> Provide a way to manually refresh Terminal's reading of settings.json or have the update sniff follow symbolic links. I like to keep important state for my dev machine in a git repo so I can blow away the machine and easily recreate it if I need to. I have settings.json living in this repo and I've created a symbolic link at the original location. This all works fine. But now if I change settings I need to close reopen terminal windows -- the changes are not automatically updated. It would be great if there was a way to trigger a re-parse of settings, or have Terminal follow symbolic links and monitor their targets for changes (I couldn't use a hard link -- different drives). # Proposed technical implementation details (optional) Ideally the file change monitor for settings would detect if settings is using a symlink and monitor the target. Less ideally, but probably useful in more situations is to have an option to reload settings manually.
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 01:33:40 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8607