From 2a8430e388a30f898dcf7478c5edac4845c966d7 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 20 Mar 2024 23:13:17 +0100 Subject: [PATCH] Implicitly configure `oh-my-posh` theme --- scripts/Windows/Collections/Generic.ps1 | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/scripts/Windows/Collections/Generic.ps1 b/scripts/Windows/Collections/Generic.ps1 index 2ae87bb0..49643ffd 100644 --- a/scripts/Windows/Collections/Generic.ps1 +++ b/scripts/Windows/Collections/Generic.ps1 @@ -89,18 +89,5 @@ function Restore-GenericApps([Context] $context) { visualstudio2019-workload-vctools; . "$PSScriptRoot/../Software/NVS/Install.ps1"; - - # Terminal - @($PROFILE, (powershell -c '$PROFILE')) | ForEach-Object { - Get-Item "$(Split-Path -Parent $_)/profile.d/*Oh My Posh*"; - } | ForEach-Object { - $oldContent = Get-Content $_; - - $oldContent | ForEach-Object { - $indicator = "oh-my-posh init"; - $_ -replace $indicator,"$indicator --config ~/Nextcloud/.omp/manuel.omp.json"; - } | Set-Content $_; - } - $context.RemoveDesktopIcon("*Microsoft Edge*"); }