Is there no option to have a global setting that overrides specific seettings? #4851

Closed
opened 2026-01-30 23:58:07 +00:00 by claunia · 2 comments
Owner

Originally created by @danielniccoli on GitHub (Nov 7, 2019).

I'm reading through the docs and I'm not sure if I just don't find it, or if there is no option to override specific profile settings.

I tried adding "globals" with smaller font size than the hard-coded default of 18 but to no avail I don't want to add it to all profiles, as it would be easier to just do it once. (In Notepad++ this is quite easy.)

// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
    "$schema": "https://aka.ms/terminal-profiles-schema",
    "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
    "globals": { "fontSize": 8 },  // TRYING TO OVERRIDE THE HARD-CODED FONT SIZE OF 18 (WAY TOO BIG)
    "profiles": [
        {
            // Make changes here to the powershell.exe profile
            "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
            "name": "Windows PowerShell",
            "commandline": "powershell.exe",
            "hidden": false
        },
        {
            // Make changes here to the cmd.exe profile
            "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
            "name": "cmd",
            "commandline": "cmd.exe",
            "hidden": false
        },
        {
            "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
            "hidden": false,
            "name": "PowerShell Core",
            "source": "Windows.Terminal.PowershellCore"
        },
        {
            "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
            "hidden": false,
            "name": "Ubuntu",
            "source": "Windows.Terminal.Wsl"
        },
        {
            "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
            "hidden": false,
            "name": "Azure Cloud Shell",
            "source": "Windows.Terminal.Azure"
        }
    ],
    // Add custom color schemes to this array
    "schemes": [],
    // Add any keybinding overrides to this array.
    // To unbind a default keybinding, set the command to "unbound"
    "keybindings": []
}
Originally created by @danielniccoli on GitHub (Nov 7, 2019). I'm reading through [the docs](https://github.com/microsoft/terminal/blob/master/doc/user-docs/UsingJsonSettings.md) and I'm not sure if I just don't find it, or if there is no option to override specific profile settings. I tried adding `"globals"` with smaller font size than the hard-coded default of `18` but to no avail I don't want to add it to all profiles, as it would be easier to just do it once. (In Notepad++ this is quite easy.) ```json // To view the default settings, hold "alt" while clicking on the "Settings" button. // For documentation on these settings, see: https://aka.ms/terminal-documentation { "$schema": "https://aka.ms/terminal-profiles-schema", "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", "globals": { "fontSize": 8 }, // TRYING TO OVERRIDE THE HARD-CODED FONT SIZE OF 18 (WAY TOO BIG) "profiles": [ { // Make changes here to the powershell.exe profile "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "name": "Windows PowerShell", "commandline": "powershell.exe", "hidden": false }, { // Make changes here to the cmd.exe profile "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "name": "cmd", "commandline": "cmd.exe", "hidden": false }, { "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", "hidden": false, "name": "PowerShell Core", "source": "Windows.Terminal.PowershellCore" }, { "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}", "hidden": false, "name": "Ubuntu", "source": "Windows.Terminal.Wsl" }, { "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}", "hidden": false, "name": "Azure Cloud Shell", "source": "Windows.Terminal.Azure" } ], // Add custom color schemes to this array "schemes": [], // Add any keybinding overrides to this array. // To unbind a default keybinding, set the command to "unbound" "keybindings": [] } ```
claunia added the Resolution-DuplicateIssue-Docs labels 2026-01-30 23:58:07 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Nov 7, 2019):

Hey thanks for the suggestion! There's actually a PR in review right now for exactly this feature! I'll direct your attention to #3369

/dup #2325

@zadjii-msft commented on GitHub (Nov 7, 2019): Hey thanks for the suggestion! There's actually a PR in review right now for _exactly this feature_! I'll direct your attention to #3369 /dup #2325
Author
Owner

@ghost commented on GitHub (Nov 7, 2019):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Nov 7, 2019): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4851