microsoft/Terminal

DSC v3 in Windows Terminal

Open

#15.862 aperta il 21 ago 2023

Vedi su GitHub
 (2 commenti) (7 reazioni) (0 assegnatari)C++ (3212 fork)batch import
Area-SettingsHelp WantedIssue-FeatureProduct-Terminal

Metriche repository

Star
 (35.764 star)
Metriche merge PR
 (Merge medio 27g 19h) (24 PR mergiate in 30 g)

Descrizione

Description of the new feature/enhancement

I would like to leverage Windows Terminal a DSC Resource so I can specify the way I want Windows Terminal configured. WinGet Configuration could leverage a configuration file to set Windows Terminal up the way I want it.

Proposed technical implementation details (optional)

Some notes from discussion: Paths in the json file will be Hard. If someone's got a relative path in their settings.json, well, that just won't work on another machine.

The ideal case here is probably a dotfiles-like experience where we can DSC that folder of fonts, images, and settings.json.

Crawl

  • We can install the Terminal.
  • We can set one or two basic global settings (Theme for example).

Walk

  • We can make some customizations to the settings.json. Maybe use a well-known URL to apply your settings.

Run

  • We can also install fragment extensions the user already has.
  • We can install distros, PWSH's etc.

Sprint

  • We can export the current settings.json to a dotfiles-like folder, with images, fonts, etc, and re-write the settings.json to use that path

Guida contributor