powershell show only directories 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> "
}