Dan*_*ell 5 git powershell posh-git visual-studio-2012 github-for-windows
我正在使用Github for windows进行非github项目,我正在使用它的powershell提示符.
我想配置visual studio以使用相同的提示(通过包管理器).
我也不想单独安装poshgit并维护2个安装,因为github几乎有我想要的确切设置.
我已经看到有可能修改nuget用于其powershell提示的配置文件,但我无法找到GH4W存储其poshgit设置的位置.
有没有一种简单的方法来实现这一目标?
尝试将其放入您的NuGet_profile.ps1
:
. (Resolve-Path "$env:LOCALAPPDATA\GitHub\shell.ps1")
. $env:github_posh_git\profile.example.ps1
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
402 次 |
最近记录: |