diff --git a/src/GitPrompt.ps1 b/src/GitPrompt.ps1 index ee0f632e3..6d9184380 100644 --- a/src/GitPrompt.ps1 +++ b/src/GitPrompt.ps1 @@ -1,7 +1,7 @@ # Inspired by Mark Embling # http://www.markembling.info/view/my-ideal-powershell-prompt-with-git-integration -$global:GitPromptSettings = New-Object PSObject -Property @{ +$global:GitPromptSettings = [pscustomobject]@{ DefaultForegroundColor = $Host.UI.RawUI.ForegroundColor BeforeText = ' ['