Skip to content
This repository was archived by the owner on Feb 16, 2021. It is now read-only.

Commit e9ba0c7

Browse files
gorbanJanDeDobbeleer
authored andcommitted
Fix lambda theme
1 parent fa54314 commit e9ba0c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Themes/Lambda.psm1

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ function Write-Theme {
1818
$prompt += Write-Prompt -Object "$($sl.PromptSymbols.ElevatedSymbol) " -ForegroundColor $sl.Colors.AdminIconForegroundColor
1919
}
2020

21+
$user = $sl.CurrentUser
2122
$lambda = [char]::ConvertFromUtf32(0x000003BB)
22-
if (Test-NotDefaultUser($lambda)) {
23+
if (Test-NotDefaultUser($user)) {
2324
$prompt += Write-Prompt -Object "$lambda " -ForegroundColor $sl.Colors.PromptForegroundColor
2425
}
2526

@@ -43,6 +44,7 @@ function Write-Theme {
4344
$prompt += Write-Prompt -Object "$($with.ToUpper()) " -BackgroundColor $sl.Colors.WithBackgroundColor -ForegroundColor $sl.Colors.WithForegroundColor
4445
}
4546

47+
$prompt
4648
}
4749

4850
$sl = $global:ThemeSettings #local settings

0 commit comments

Comments
 (0)