PowerShell-Profile/functions/Override-Profile.ps1

8 lines
273 B
PowerShell

# gitea.RdzeN.net
# Override $profile
function Override-Profile {
if ((Test-Path $PROFILE)) {
Get-Content "$path_gitea_powershell_profile\RdzeN-Profile.ps1" | Set-Content $PROFILE -Force
New-SimulateTyping "Your PowerShell profile was Override!"
}
}