From 5a3126ab4f86c4f1589351146752f26f3c378b40 Mon Sep 17 00:00:00 2001 From: Tomasz Kostrzewa Date: Tue, 5 Mar 2024 19:12:24 +0100 Subject: [PATCH] modified: functions/Override-Profile.ps1 --- functions/Override-Profile.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/Override-Profile.ps1 b/functions/Override-Profile.ps1 index 06100d7..e32f9d3 100644 --- a/functions/Override-Profile.ps1 +++ b/functions/Override-Profile.ps1 @@ -2,7 +2,7 @@ # Override $profile function Override-Profile { if ((Test-Path $PROFILE)) { - Copy-Item -Path "$path_gitea_powershell_profile\RdzeN-Profile.ps1" -Destination $PROFILE -Force + Get-Content "$path_gitea_powershell_profile\RdzeN-Profile.ps1" | Set-Content $PROFILE -Force New-SimulateTyping "Your PowerShell profile was Override!" } } \ No newline at end of file