📌  相关文章
📜  将 Gitbash 分支名称添加到 powershell - Shell-Bash 代码示例

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

代码示例1
# In PS
Install-Module posh-git -Scope CurrentUser
# Next
Install-Module oh-my-posh -Scope CurrentUser
#Within PowerShell, run notepad $PROFILE and add these lines to ensure the modules and theme is loaded upon startup.
```
Import-Module posh-git
Import-Module oh-my-posh
Set-PoshPrompt
```