PowerShell-Profile/functions/Override-Profile.ps1

8 lines
276 B
PowerShell

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