=Fixed styling error on load
This commit is contained in:
parent
57286b546c
commit
a2888a883b
2 changed files with 43 additions and 13 deletions
|
@ -17,7 +17,7 @@ Get-Command -ListImported Get-GitDirectory -ErrorAction Ignore |
|
|||
$local:g = $global:GitPromptSettings
|
||||
$g.WorkingColor.ForegroundColor = [System.ConsoleColor]::DarkYellow
|
||||
$g.TruncatedBranchSuffix = [char]0x2026
|
||||
$g.PathStatusSeparator = [PoshCode.Pansies.Entities]::ExtendedCharacters.Branch
|
||||
$g.PathStatusSeparator = "$([char]0xE0A0)" #[PoshCode.Pansies.Entities]::ExtendedCharacters.Branch
|
||||
$g.BeforeStatus.Text = [string]::Empty
|
||||
$g.AfterStatus.Text = [string]::Empty
|
||||
$g.BranchGoneStatusSymbol.Text = [char]0x2262
|
||||
|
@ -37,6 +37,21 @@ if( (Get-Command -ListImported Set-PowerLinePrompt -ErrorAction Ignore) ) {
|
|||
OSName = [SystemName]::_GetValidValues("",$true,$true) | Select-Object -First 1
|
||||
Username = @($env:USER, $env:USERNAME -ne "")[0]
|
||||
Hostname = $(hostname).Trim()
|
||||
ColorFiller = $([char]0x2588)
|
||||
Separator = " $(
|
||||
[PoshCode.Pansies.Entities]::NerdFonts['nf-pl-left_hard_divider']
|
||||
)"
|
||||
ReverseSeparator = "$(
|
||||
[PoshCode.Pansies.Entities]::NerdFonts['nf-pl-right_hard_divider']
|
||||
) "
|
||||
# Separator = "$(
|
||||
# [char]::ConvertFromUtf32(0x2588)
|
||||
# )$( [PoshCode.Pansies.Entities]::ExtendedCharacters.ColorSeparator.Trim()[-1]
|
||||
# ) "
|
||||
# ReverseSeparator = " $(
|
||||
# [PoshCode.Pansies.Entities]::ExtendedCharacters.ColorSeparator.Trim()[0]
|
||||
# )$( [char]::ConvertFromUtf32(0x2588))"
|
||||
|
||||
}
|
||||
|
||||
Set-PowerLinePrompt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue