microsoft/Terminal

DSC v3 in Windows Terminal

Open

#15,862 建立於 2023年8月21日

在 GitHub 查看
 (2 留言) (7 反應) (0 負責人)C++ (3,212 fork)batch import
Area-SettingsHelp WantedIssue-FeatureProduct-Terminal

倉庫指標

Star
 (35,764 star)
PR 合併指標
 (平均合併 27天 19小時) (30 天內合併 24 個 PR)

描述

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

貢獻者指南