diff --git a/install.ps1 b/install.ps1 index 832940e..abd84d6 100644 --- a/install.ps1 +++ b/install.ps1 @@ -123,8 +123,10 @@ do { $decision = $Host.UI.PromptForChoice('Winfetch', 'Soll Winfetch eingerichtet werden?' , $choices, 1) if ($decision -eq 0) { Install-Script winfetch + Remove-Item -Recurse -Force ~/.config/winfetch mkdir ~/.config/winfetch New-Item -Path "~/.config/winfetch/config.ps1" -ItemType SymbolicLink -Value "~/.winconfig/config.ps1" + Remove-Item -Force "~/Documents/WindowsPowerShell/profile.ps1" New-Item -Path "~/Documents/WindowsPowerShell/profile.ps1" -ItemType SymbolicLink -Value "~/.winconfig/profile.ps1" Read-Host "Bitte das Terminal / Powershell neu starten damit Winfetch funktioniert."