diff --git a/vendor/psmodules/Cmder.ps1 b/vendor/psmodules/Cmder.ps1 index 548c324..18075e0 100644 --- a/vendor/psmodules/Cmder.ps1 +++ b/vendor/psmodules/Cmder.ps1 @@ -190,7 +190,10 @@ function Show-GitStatus { function Get-GitStatusSetting { $gitConfig = git --no-pager config -l 2>$null | Out-String - if ($gitConfig -match '(?m)^cmder\.(ps)?status=false') { + # Check if git status display is disabled via config + # Matches: cmder.status=false or cmder.psstatus=false (PowerShell-specific) + # Anchored to match complete lines only to avoid false positives + if ($gitConfig -match '(?m)^cmder\.(ps)?status=false$') { return $false }