modified: functions/Override-Profile.ps1

This commit is contained in:
Tomasz Kostrzewa 2024-03-05 19:12:24 +01:00
parent 3024ef0be1
commit 5a3126ab4f

View File

@ -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!"
}
}