Implicitly configure oh-my-posh
theme
This commit is contained in:
parent
d0a78ed134
commit
aab530444d
|
@ -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*");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue