Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
My slightly modified posh-git
# execute
# Install-Module PowershellGet -Force
# first time install
# PowerShellGet\Install-Module posh-git -Scope CurrentUser -AllowPrerelease -Force
# update with
# PowerShellGet\Update-Module posh-git
Import-Module posh-git
function prompt {
$global:GitPromptSettings.DefaultPromptPath.ForegroundColor = "0x007700"
$global:GitPromptSettings.DefaultPromptBeforeSuffix.Text = '`n'
& $GitPromptScriptBlock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment