Created
April 17, 2019 02:14
-
-
Save frankcalise/825207344ff142ffc8a2a91279d818b1 to your computer and use it in GitHub Desktop.
Remove backspace bell and shorten prompt for PowerShell
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
Set-PSReadlineOption -BellStyle None | |
function prompt { | |
$p = Split-Path -leaf -path (Get-Location) | |
"$p> " | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment