Track Windows Terminal settings in the repo
- windows/windows-terminal/settings.json: Australis scheme, VictorMono Nerd Font Mono, acrylic on the PowerShell profile - link-dotfiles.ps1: link it into the Terminal LocalState folder - README: document the windows/ folder and Terminal setup Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -102,4 +102,15 @@ Get-ChildItem -LiteralPath (Join-Path $repo 'home_config') -Force |
|
||||
Where-Object { $skip -notcontains $_.Name } |
|
||||
ForEach-Object { Link-Item $_.FullName (Join-Path $configDir $_.Name) }
|
||||
|
||||
# Windows Terminal lives in a package folder outside the stow tree, so link its
|
||||
# settings.json explicitly. Skipped silently if Terminal isn't installed.
|
||||
$wtPkg = Get-ChildItem (Join-Path $env:LOCALAPPDATA 'Packages') -Filter 'Microsoft.WindowsTerminal_*' -Directory -ErrorAction SilentlyContinue |
|
||||
Select-Object -First 1
|
||||
$wtSrc = Join-Path $repo 'windows\windows-terminal\settings.json'
|
||||
if ($wtPkg -and (Test-Path $wtSrc)) {
|
||||
$wtDest = Join-Path $wtPkg.FullName 'LocalState\settings.json'
|
||||
Write-Host "windows-terminal -> $wtDest"
|
||||
Link-Item $wtSrc $wtDest
|
||||
}
|
||||
|
||||
Write-Host "Done." -ForegroundColor Green
|
||||
|
||||
Reference in New Issue
Block a user