Search code examples
visual-studio-2012posh-git

Colors of fonts in package manager console with posh-git?


I'm trying to get the package manager console to look exactly like a standalone powershell console with posh-git. The only thing i've been unable to replicate is the red font used for files. Here is my package manager console:

enter image description here

and here is my powershell console:

enter image description here

Does anyone replicate that functionality?


Solution

  • I'm pretty sure this is a limitation of the Package Manager Console. Git.exe renders colors using Bash color escape sequences, which seem to be ignored by PMC.

    Unrelated: it's curious that PMC uses 8-character tabs but the normal PowerShell host uses 4.