posh-git

https://github.com/dahlbyk/posh-git#step-2-import-posh-git-from-your-powershell-profile

$profile.AllUsersCurrentHost

C:\Program Files\PowerShell\7-preview\Microsoft.PowerShell_profile.ps1

 

Import-Module 'C:\Users\clu\source\repos\GitHub\Other\posh-git\src\posh-git.psd1'

 

然后把这个文件复制到powershell的路径

phttps://github.com/chucklu/Scripts/blob/master/Powershell/Microsoft.PowerShell_profile.ps1

 

 

If you are familiar with zsh on linux and the extension oh-my-zsh, then you may like to use oh-my-posh. It is recommended to install it as a Powershell Module or with Chocolatey as defined in the documentation.

posted @ 2019-09-29 10:06  ChuckLu  阅读(1603)  评论(0)    收藏  举报