Posh-git: Provide DefaultPromptPrefixColor and DefaultPromptSuffixColor options

Created on 11 Jun 2017  路  1Comment  路  Source: dahlbyk/posh-git

System Details

  • posh-git version/path: 0.7.1 C:\tools\poshgit\dahlbyk-posh-git-a4faccdsrc
  • PowerShell version: 5.1.15063.296
  • git version 2.13.0.windows.1
  • OS: Microsoft Windows NT 10.0.15063.0

Issue Description

I would like to be able to easily customize the default prompt prefix and suffix colors independently from each other and the default foreground color. Perhaps this could be provided with DefaultPromptPrefixColor and DefaultPromptSuffixColor properties in $GitPromptSettings?

In prior versions I overrode the prompt function to accomplish this, however, it would be very nice to be able to change these colors without needing to override the prompt function via the enhanced $GitPromptSettings properties.

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ewgoforth picture ewgoforth  路  8Comments

wsmelton picture wsmelton  路  4Comments

exbuzz picture exbuzz  路  7Comments

AnthonyMastrean picture AnthonyMastrean  路  9Comments

jpierson picture jpierson  路  9Comments