📜  powershell 仅显示当前目录 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:12.089000             🧑  作者: Mango

代码示例1
function prompt {
  $p = Split-Path -leaf -path (Get-Location)
  "$p> "
}