fix(pwsh): do not tweak posh-git prompt settings

This commit is contained in:
Jan De Dobbeleer 2022-03-31 22:32:01 +02:00 committed by Jan De Dobbeleer
parent 749eb6cf26
commit af7db43889

View file

@ -59,7 +59,6 @@ function global:Get-PoshContext {
function global:Initialize-ModuleSupport {
if ($GitPromptSettings.EnablePromptStatus) {
$global:GitStatus = Get-GitStatus
$GitPromptSettings.EnablePromptStatus = $false
$env:POSH_GIT_STATUS = Write-GitStatus -Status $global:GitStatus
}
}