Fix janky transition wedges between prompt segments
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
add_newline = false
|
||||
|
||||
format = '${custom.toolbox}${custom.localhost}[](bold fg:#01568e bg:#000000)$directory$python$git_branch$git_status$status$character'
|
||||
format = '${custom.toolbox}${custom.localhost}[](bold fg:#XXXXXX bg:#444444)$directory$python$git_branch$git_status$status$character'
|
||||
|
||||
[directory]
|
||||
format = "[](fg:#000000 bg:#444444)[$read_only]($read_only_style)[$path ]($style)[](fg:#444444 bg:#000000)"
|
||||
format = "[$read_only]($read_only_style)[$path ]($style)[](fg:#444444 bg:#XXXXXX)"
|
||||
style = "fg:bright-white bg:#444444"
|
||||
read_only = ''
|
||||
read_only_style = "bold fg:bright-red bg:#444444"
|
||||
@@ -13,7 +13,7 @@ home_symbol = ''
|
||||
'/' = ' '
|
||||
|
||||
[character]
|
||||
success_symbol = ''
|
||||
success_symbol = '[](bold fg:#XXXXXX)'
|
||||
error_symbol = '[](bold fg:#6d0505)'
|
||||
|
||||
[status]
|
||||
@@ -21,28 +21,28 @@ disabled = false
|
||||
symbol = ''
|
||||
pipestatus = true
|
||||
style = "bold fg:bright-white bg:#6d0505"
|
||||
format = '[](bold fg:#000000 bg:#6d0505)[ $status ]($style)'
|
||||
format = '[](bold fg:#XXXXXX bg:#6d0505)[ $status ]($style)'
|
||||
|
||||
[git_branch]
|
||||
symbol = ''
|
||||
format = '[](bold fg:#000000 bg:#44b240)[$symbol $branch]($style)[](bold bg:#000000 fg:#44b240)'
|
||||
format = '[](bold fg:#XXXXXX bg:#44b240)[$symbol $branch]($style)[](bold bg:#XXXXXX fg:#44b240)'
|
||||
style = 'bold bg:#44b240 fg:black'
|
||||
|
||||
[git_status]
|
||||
style = "bold fg:black bg:#f4862c"
|
||||
format = '([](bold fg:#000000 bg:#f4862c)[$all_status$ahead_behind]($style)[](bold bg:#000000 fg:#f4862c))'
|
||||
format = '([](bold fg:#XXXXXX bg:#f4862c)[$all_status$ahead_behind]($style)[](bold bg:#XXXXXX fg:#f4862c))'
|
||||
|
||||
[python]
|
||||
style = 'bold bg:#fcf52a fg:black'
|
||||
symbol = ''
|
||||
format = '[](bold fg:#000000 bg:#fcf52a)[$symbol( $virtualenv)]($style)[](bold bg:#000000 fg:#fcf52a)'
|
||||
format = '[](bold fg:#XXXXXX bg:#fcf52a)[$symbol( $virtualenv)]($style)[](bold bg:#XXXXXX fg:#fcf52a)'
|
||||
|
||||
[custom.toolbox]
|
||||
style = "bold bg:#01568e fg:bright-white"
|
||||
style = "bold bg:#XXXXXX fg:bright-white"
|
||||
command = "echo -ne 'toolbox '"
|
||||
when = '[ -f /run/.toolboxenv ]'
|
||||
|
||||
[custom.localhost]
|
||||
style = "bold bg:#01568e fg:bright-white"
|
||||
style = "bold bg:#XXXXXX fg:bright-white"
|
||||
command = "echo -ne $HOSTNAME "
|
||||
when = '[ ! -f /run/.toolboxenv ]'
|
||||
|
||||
Reference in New Issue
Block a user