mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -08:00
fix(pwsh): do not tweak posh-git prompt settings
This commit is contained in:
parent
749eb6cf26
commit
af7db43889
|
@ -59,7 +59,6 @@ function global:Get-PoshContext {
|
||||||
function global:Initialize-ModuleSupport {
|
function global:Initialize-ModuleSupport {
|
||||||
if ($GitPromptSettings.EnablePromptStatus) {
|
if ($GitPromptSettings.EnablePromptStatus) {
|
||||||
$global:GitStatus = Get-GitStatus
|
$global:GitStatus = Get-GitStatus
|
||||||
$GitPromptSettings.EnablePromptStatus = $false
|
|
||||||
$env:POSH_GIT_STATUS = Write-GitStatus -Status $global:GitStatus
|
$env:POSH_GIT_STATUS = Write-GitStatus -Status $global:GitStatus
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue