Skip to content

Instantly share code, notes, and snippets.

@kenwarner
Created February 6, 2016 22:20
Show Gist options
  • Save kenwarner/032818988bfad4dadeb9 to your computer and use it in GitHub Desktop.
Save kenwarner/032818988bfad4dadeb9 to your computer and use it in GitHub Desktop.
GitHub PoshGit prompt colors
# look for profile.example.ps1 in your %USERPROFILE%\AppData\Local\GitHub\PoshGit_somerandomlettersandnumbers\ folder
# add the following after the Enable-GitColors line
$global:GitPromptSettings.IndexForegroundColor = [ConsoleColor]::Green
$global:GitPromptSettings.WorkingForegroundColor = [ConsoleColor]::Red
$global:GitPromptSettings.UntrackedForegroundColor = [ConsoleColor]::Magenta
$global:GitPromptSettings.BranchAheadForegroundColor = [ConsoleColor]::Green
$global:GitPromptSettings.BranchBehindForegroundColor = [ConsoleColor]::Magenta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment