Repository navigation
Keep dotfile-managed settings separate from machine-local changes #19594
colonelpanic8
started this conversation in
Ideas
Replies: 1 comment
|
A proposed implementation is on my fork, not opened here: colonelpanic8#5. It adds an optional read-only shared settings file ( |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
TL;DR: I want to keep T3 Code settings in a dotfiles repo while still changing things from the UI on one machine, without those changes landing in the repo. Today a single
settings.jsonholds both. Would you accept a layered settings model, and which of the shapes below do you prefer?Problem
settings.json,keybindings.json,client-settings.json,desktop-settings.json) is both the configuration and where UI changes are written.Shape A: fixed layers
Like Claude Code's
settings.jsonandsettings.local.json.settings.json, then machine-localsettings.local.json, then managed.Shape B: imports plus a write target
Like git's
includeand Alacritty'simport.settings.jsonimports~/dotfiles/t3code/settings.json.Either way
Questions
Prior art
settings.json, personalsettings.local.jsonkept out of git, andmanaged-settings.json, with a documented precedence.includeandincludeIf.general.import, with later files overriding earlier ones.machineandmachine-overridablescoped settings are never synced to other machines.Related
All reactions