Windows Powershell个性化设置
作者:互联网
1. 设置Powershell prompt只显示当前目录;
2. 设置Powershell title为当前路径;
这个文件的路径为:echo $profile
# file location:echo $profile
function prompt { $p = Split-Path -leaf -path (Get-Location) "PS $p> " $host.UI.RawUI.WindowTitle = (Get-Location) } function which($c) { Get-Command $c | fl }
标签:prompt,Get,Windows,echo,Location,设置,Powershell,个性化 来源: https://www.cnblogs.com/nanisnumber/p/16270130.html