Last active
December 21, 2015 01:39
-
-
Save sandorjanssen/6229450 to your computer and use it in GitHub Desktop.
Change the prompt to show only the current folder using a different color (add to $profile using vim $profile)
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
function prompt { | |
$p = Split-Path -leaf -path (Get-Location) | |
Write-Host "$p> " -nonewline -foregroundcolor Green | |
return ' ' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment