mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
fix(posh-git): evaluate to true
This commit is contained in:
parent
421139f5e1
commit
23c2c383fe
|
@ -59,7 +59,7 @@ function global:Get-PoshContext {
|
|||
}
|
||||
|
||||
function global:Initialize-ModuleSupport {
|
||||
if ($env:POSH_GIT_ENABLED) {
|
||||
if ($env:POSH_GIT_ENABLED -eq $true) {
|
||||
$global:GitStatus = Get-GitStatus
|
||||
$env:POSH_GIT_STATUS = Write-GitStatus -Status $global:GitStatus
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue