mirror of
https://github.com/cmderdev/cmder.git
synced 2025-11-09 05:39:03 +08:00
simplification
This commit is contained in:
1
vendor/psmodules/Cmder.ps1
vendored
1
vendor/psmodules/Cmder.ps1
vendored
@@ -196,7 +196,6 @@ function Get-GitStatusSetting {
|
||||
|
||||
# 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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user