Last active
October 2, 2020 21:30
-
-
Save theparticleman/f07b8d824f9ea03997b039f52222ca6c to your computer and use it in GitHub Desktop.
Minimal Powershell prompt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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