powershell show only current directory code example
Example: powershell show only current directory
function prompt {
$p = Split-Path -leaf -path (Get-Location)
"$p> "
}
function prompt {
$p = Split-Path -leaf -path (Get-Location)
"$p> "
}