From 188343fec22b9a32bf443b197e46218a139a4793 Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 13 Dec 2022 20:13:36 +0100 Subject: [PATCH] =?UTF-8?q?Alte=20Files=20/=20Folder=20vor=20anlegen=20der?= =?UTF-8?q?=20Links=20l=C3=B6schen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.ps1 | 2 ++ 1 file changed, 2 insertions(+) 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."