We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 456ddcc commit a1def71Copy full SHA for a1def71
vendor/psmodules/Cmder.ps1
@@ -176,8 +176,10 @@ function Import-Git {
176
return $false
177
}
178
179
+ # Import posh-git module (works for all versions)
180
Import-Module Posh-Git -ErrorAction SilentlyContinue | Out-Null
181
182
+ # Apply version-specific settings for posh-git 1.0.0+
183
if (($gitModule.Version -ge [version]"1.0.0") -and (Get-Variable -Name GitPromptSettings -ErrorAction SilentlyContinue)) {
184
$GitPromptSettings.AnsiConsole = $false
185
0 commit comments