Skip to content

Commit

Permalink
Merge pull request #382 from lzybkr/sort-settings
Browse files Browse the repository at this point in the history
Use pscustomobject cast for sorted output of $GitPromptSettings
  • Loading branch information
rkeithhill authored Jan 31, 2017
2 parents 37c99e1 + 43c7910 commit 3b5a853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GitPrompt.ps1
Original file line number Diff line number Diff line change
@@ -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 = ' ['
Expand Down

0 comments on commit 3b5a853

Please # to comment.