Import custom Oh My Posh for user
This commit is contained in:
parent
40788f3d98
commit
bb28dadc16
1 changed files with 5 additions and 0 deletions
|
@ -147,6 +147,11 @@ function Restore-PersonalApps([Context] $context) {
|
|||
nvs add latest;
|
||||
nvs link latest;
|
||||
|
||||
# Terminal
|
||||
$profileRoots = @($PROFILE, (powershell -c '$PROFILE')) | ForEach-Object { Split-Path -Parent $_; };
|
||||
$profileRoots | ForEach-Object { Remove-Item "$_/profile.d/*Oh My Posh*.ps1"; };
|
||||
$context.AddPowerShellProfileStatement($false, "999_Oh My Posh", "oh-my-posh init pwsh --config ~/Nextcloud/.omp/manuel.omp.json | Invoke-Expression");
|
||||
|
||||
# Gaming
|
||||
choco install -y goggalaxy;
|
||||
|
||||
|
|
Loading…
Reference in a new issue