Skip to content

Instantly share code, notes, and snippets.

Last active October 2, 2020 21:30
What would you like to do?
Minimal Powershell prompt
# Put in $PSHOME\Profile.ps1
function prompt {
$location = Get-Location
Write-Host ($location.ToString().Replace($env:USERPROFILE, "~") + ">") -NoNewline
return " "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment