microsoft/Terminal

DSC v3 in Windows Terminal

Open

#15,862 opened on 2023年8月21日

GitHub で見る
 (2 comments) (7 reactions) (0 assignees)C++ (3,212 forks)batch import
Area-SettingsHelp WantedIssue-FeatureProduct-Terminal

Repository metrics

Stars
 (35,764 stars)
PR merge metrics
 (平均マージ 27d 19h) (30d で 24 merged PRs)

説明

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

コントリビューターガイド