mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-13 14:34:06 -08:00
fix(az): add user to exposed model for pwsh
This commit is contained in:
parent
ad5c77a61b
commit
5549e0d7ad
|
@ -144,5 +144,8 @@ func (a *az) getAzureRmContext() bool {
|
||||||
a.ID = defaultContext.Subscription.ID
|
a.ID = defaultContext.Subscription.ID
|
||||||
a.Name = defaultContext.Subscription.Name
|
a.Name = defaultContext.Subscription.Name
|
||||||
a.State = defaultContext.Subscription.State
|
a.State = defaultContext.Subscription.State
|
||||||
|
a.User = &AzureUser{
|
||||||
|
Name: defaultContext.Subscription.ExtendedProperties.Account,
|
||||||
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue