Files
toolbox-dev-env/starship.toml

50 lines
1.5 KiB
TOML
Raw Normal View History

2025-11-06 16:53:56 -05:00
add_newline = false
2025-11-07 13:39:58 -05:00
format = '[ ](bold fg:#000000 bg:#XXXXXX)${custom.toolbox}${custom.localhost}[](bold fg:#XXXXXX bg:#444444)$directory$python$git_branch$git_status$status$character'
2025-11-06 16:53:56 -05:00
[directory]
format = "[$read_only]($read_only_style)[$path ]($style)[](fg:#444444 bg:#000000)"
2025-11-06 16:53:56 -05:00
style = "fg:bright-white bg:#444444"
read_only = ' '
read_only_style = "bold fg:red bg:#444444"
truncation_symbol = ' '
home_symbol = '~'
2025-11-06 16:53:56 -05:00
[directory.substitutions]
'/' = '  '
'~ ' = ''
2025-11-06 16:53:56 -05:00
[character]
success_symbol = '[](bold fg:#000000)'
2025-11-06 16:53:56 -05:00
error_symbol = '[](bold fg:#6d0505)'
[status]
disabled = false
symbol = ''
pipestatus = true
style = "bold fg:bright-white bg:#6d0505"
format = '[](bold fg:#XXXXXX bg:#6d0505)[ $status ]($style)'
2025-11-06 16:53:56 -05:00
[git_branch]
symbol = ''
format = '[](bold fg:#000000 bg:#44b240)[$symbol $branch]($style)[](bold bg:#000000 fg:#44b240)'
2025-11-06 16:53:56 -05:00
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))'
2025-11-06 16:53:56 -05:00
[python]
style = 'bold bg:#fcf52a fg:black'
symbol = ''
format = '([](bold fg:#000000 bg:#fcf52a)[$virtualenv]($style)[](bold bg:#000000 fg:#fcf52a))'
2025-11-06 16:53:56 -05:00
[custom.toolbox]
style = "bold bg:#XXXXXX fg:bright-white"
2025-11-07 13:39:58 -05:00
command = "echo -ne ' toolbox'"
2025-11-06 16:53:56 -05:00
when = '[ -f /run/.toolboxenv ]'
[custom.localhost]
style = "bold bg:#XXXXXX fg:bright-white"
2025-11-07 13:39:58 -05:00
command = 'echo -ne " $HOSTNAME"'
2025-11-06 16:53:56 -05:00
when = '[ ! -f /run/.toolboxenv ]'