microsoft/Terminal

DSC v3 in Windows Terminal

Open

#15 862 ouverte le 21 août 2023

Voir sur GitHub
 (2 commentaires) (7 réactions) (0 assignés)C++ (3 212 forks)batch import
Area-SettingsHelp WantedIssue-FeatureProduct-Terminal

Métriques du dépôt

Stars
 (35 764 stars)
Métriques de merge PR
 (Merge moyen 27j 19h) (24 PRs mergées en 30 j)

Description

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

Guide contributeur