<commit_before>Import-Module Posh-Git

### Change colors
# Posh-Git v0.x
# $global:GitPromptSettings.WorkingForegroundColor = [ConsoleColor]::Yellow
# $global:GitPromptSettings.BranchForegroundColor = [ConsoleColor]::Green


# Posh-Git v1.x
# Update-Module Posh-Git -RequiredVersion 1.0.0-beta2 -AllowPrerelease

# Interprets colors with System.Drawing.ColorTranslator.FromHtml()
# But available colors are only: [ConsoleColor].GetEnumNames()
# Black, DarkBlue, DarkGreen, DarkCyan, DarkRed, DarkMagenta, DarkYellow, DarkGray
# Gray, Blue, Green, Cyan, Red, Magenta, Yellow, White
$GitPromptSettings.DefaultPromptPath.ForegroundColor = 'White'

$GitPromptSettings.LocalWorkingStatusSymbol.ForegroundColor = 'Yellow'
$GitPromptSettings.WorkingColor.ForegroundColor = 'Yellow'
# $GitPromptSettings.BranchColor.ForegroundColor = 'Green'

$GitPromptSettings.BranchAheadStatusSymbol.ForegroundColor = 'Green'
$GitPromptSettings.BranchBehindStatusSymbol.ForegroundColor = 'DarkMagenta'
$GitPromptSettings.BranchBehindAndAheadStatusSymbol.ForegroundColor = 'Yellow'


### Prompt Shrinkers
$shrinkersPath = Join-Path $PSScriptRoot "..\..\prompt-aliases.ini"
# Write-Host "Creating prompt shrinkers as defined in:" -ForegroundColor Blue
# Write-Host ([System.IO.Path]::GetFullPath($shrinkersPath)) -ForegroundColor White
$shrinkers = Get-IniContent $shrinkersPath
foreach ($shrinkTo in $shrinkers["Prompt-Shrinkers"].Keys) {
	$shrinkPath = $shrinkers["Prompt-Shrinkers"].$shrinkTo<commit_msg>color blindness strikes again: change foregroundcolor of git branch behind<commit_after>Import-Module Posh-Git

### Change colors
# Posh-Git v0.x
# $global:GitPromptSettings.WorkingForegroundColor = [ConsoleColor]::Yellow
# $global:GitPromptSettings.BranchForegroundColor = [ConsoleColor]::Green


# Posh-Git v1.x
# Update-Module Posh-Git -RequiredVersion 1.0.0-beta2 -AllowPrerelease

# Interprets colors with System.Drawing.ColorTranslator.FromHtml()
# But available colors are only: [ConsoleColor].GetEnumNames()
# Black, DarkBlue, DarkGreen, DarkCyan, DarkRed, DarkMagenta, DarkYellow, DarkGray
# Gray, Blue, Green, Cyan, Red, Magenta, Yellow, White
$GitPromptSettings.DefaultPromptPath.ForegroundColor = 'White'

$GitPromptSettings.LocalWorkingStatusSymbol.ForegroundColor = 'Yellow'
$GitPromptSettings.WorkingColor.ForegroundColor = 'Yellow'
# $GitPromptSettings.BranchColor.ForegroundColor = 'Green'

$GitPromptSettings.BranchAheadStatusSymbol.ForegroundColor = 'Green'
$GitPromptSettings.BranchBehindStatusSymbol.ForegroundColor = 'Magenta'
$GitPromptSettings.BranchBehindAndAheadStatusSymbol.ForegroundColor = 'Yellow'


### Prompt Shrinkers
$shrinkersPath = Join-Path $PSScriptRoot "..\..\prompt-aliases.ini"
# Write-Host "Creating prompt shrinkers as defined in:" -ForegroundColor Blue
# Write-Host ([System.IO.Path]::GetFullPath($shrinkersPath)) -ForegroundColor White
$shrinkers = Get-IniContent $shrinkersPath
foreach ($shrinkTo in $shrinkers["Prompt-Shrinkers"].Keys) {
	$shrinkPath = $shrinkers["Prompt-Shrinkers"].$shrinkTo
{'fraction_non_alphanumeric': 0.11544823023486603, 'fraction_numerical': 0.0039695666556400925, 'mean_word_length': 7.49438202247191, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4432512', 'n_tokens_mistral': 1037, 'n_tokens_neox': 970, 'n_words': 178}