Implicitly configure oh-my-posh
theme
This commit is contained in:
parent
0a56cfc809
commit
2a8430e388
1 changed files with 0 additions and 13 deletions
|
@ -89,18 +89,5 @@ function Restore-GenericApps([Context] $context) {
|
||||||
visualstudio2019-workload-vctools;
|
visualstudio2019-workload-vctools;
|
||||||
|
|
||||||
. "$PSScriptRoot/../Software/NVS/Install.ps1";
|
. "$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*");
|
$context.RemoveDesktopIcon("*Microsoft Edge*");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue