Powershell Show Only Current Directory

[Solved] Powershell Show Only Current Directory | C - Code Explorer | yomemimo.com
Question : powershell show only current directory

Answered by : excited-eel-rngh853qfz4d

function prompt { $p = Split-Path -leaf -path (Get-Location) "$p> "
}

Source : https://superuser.com/questions/446827/configure-windows-powershell-to-display-only-the-current-folder-name-in-the-shel | Last Update : Tue, 06 Apr 21

Answers related to powershell show only current directory

Code Explorer Popular Question For C