modified: functions/Reload-Profile.ps1
This commit is contained in:
parent
94499ff700
commit
83836cebf9
@ -1,5 +1,13 @@
|
|||||||
# gitea.RdzeN.net
|
# gitea.RdzeN.net
|
||||||
# Reload $profile
|
# Reload $profile
|
||||||
function Reload-Profile {
|
function Reload-Profile {
|
||||||
. $PROFILE
|
Write-Host "Do you want to reload your PS profile?"
|
||||||
|
do {
|
||||||
|
$reload = Read-Host "Type [Y]es or [N]o"
|
||||||
|
} until (
|
||||||
|
$reload -in ("Y","N")
|
||||||
|
)
|
||||||
|
if ($reload -eq "Y") {
|
||||||
|
. $PROFILE
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user