系统相关
首页 > 系统相关> > posh-git Powershell Prompt

posh-git Powershell Prompt

作者:互联网

Import-Module posh-git
$GitPromptSettings.DefaultPromptWriteStatusFirst = $true
$GitPromptSettings.DefaultPromptBeforeSuffix.Text = ' $([DateTime]::now.ToString("HH:mm:ss"))'
$GitPromptSettings.DefaultPromptBeforeSuffix.ForegroundColor = 0x808080
$GitPromptSettings.DefaultPromptPath.ForegroundColor = 'Orange'

 

标签:GitPromptSettings,git,Prompt,DefaultPromptBeforeSuffix,posh,ForegroundColor,Powe
来源: https://www.cnblogs.com/dissipate/p/15874579.html