modified: functions/Override-Profile.ps1
This commit is contained in:
parent
3024ef0be1
commit
5a3126ab4f
@ -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!"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user