79298655

Date: 2024-12-21 00:16:30
Score: 1
Natty:
Report link

An alternative I found is to just restart the session:

function rl { # Reload powershell
    Write-Output "Restarting powershell..."
    & powershell -NoExit -Command "Set-Location -Path $(Get-Location)"
    exit
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Charlie Hebert