109 lines
2 KiB
TOML
109 lines
2 KiB
TOML
format = """
|
|
[](blue)\
|
|
$time\
|
|
[](bg:purple fg:blue)\
|
|
$sudo$username$hostname$docker_context\
|
|
[](bg:green fg:purple)\
|
|
$directory\
|
|
[](bg:red fg:green)\
|
|
$git_branch$git_commit$git_state$git_status\
|
|
[](bg:#454158 fg:red)\
|
|
$fill\
|
|
[](bg:#454158 fg:yellow)\
|
|
$status$cmd_duration\
|
|
[](bg:yellow fg:cyan)\
|
|
$jobs\
|
|
[](cyan)
|
|
[](blue)\
|
|
$shell$character
|
|
"""
|
|
|
|
continuation_prompt = "[](blue)[ ](bg:blue)[](blue) "
|
|
|
|
|
|
[character]
|
|
success_symbol = "[ ](fg:blue bg:green)[](green)"
|
|
error_symbol = "[ ](fg:blue bg:red)[](red)"
|
|
vicmd_symbol = "[ ](fg:blue bg:cyan)[](cyan)"
|
|
|
|
[cmd_duration]
|
|
min_time = 0
|
|
show_notifications = true
|
|
show_milliseconds = true
|
|
style = "bg:yellow fg:black"
|
|
format = "[$duration祥]($style)"
|
|
|
|
[directory]
|
|
read_only = ""
|
|
truncation_length = 8
|
|
truncation_symbol = "…/"
|
|
style = "bg:green fg:black"
|
|
format = "[$read_only$path]($style)"
|
|
|
|
[docker_context]
|
|
style = "bg:purple"
|
|
symbol = ""
|
|
format = "[ $symbol$context]($style)"
|
|
|
|
[fill]
|
|
style = "bg:#454158"
|
|
symbol = " "
|
|
|
|
[git_branch]
|
|
symbol = ""
|
|
style = "bg:red fg:black"
|
|
format = '[ $symbol $branch ]($style)'
|
|
|
|
[git_commit]
|
|
style = "bg:red fg:black"
|
|
tag_disabled = false
|
|
tag_symbol = " "
|
|
format = '[\($hash$tag\) ]($style)'
|
|
|
|
[git_status]
|
|
style = "bg:red fg:black"
|
|
format = '[\[$all_status$ahead_behind\]]($style)'
|
|
|
|
[hostname]
|
|
ssh_only = false
|
|
style = "bg:purple"
|
|
format = "[@$hostname]($style)"
|
|
trim_at = ""
|
|
|
|
[jobs]
|
|
number_threshold = 1
|
|
style = "bg:cyan fg:black"
|
|
symbol = ""
|
|
format = "[$symbol$number]($style)"
|
|
|
|
[shell]
|
|
bash_indicator = '\$'
|
|
fish_indicator = ""
|
|
zsh_indicator = '%%'
|
|
powershell_indicator = ""
|
|
unknown_indicator = ""
|
|
style = "bg:blue"
|
|
format = '[$indicator]($style)'
|
|
disabled = false
|
|
|
|
[sudo]
|
|
style = "bg:purple"
|
|
symbol = ""
|
|
format = "[$symbol]($style)"
|
|
disabled = false
|
|
|
|
[status]
|
|
disabled = false
|
|
style = "bg:yellow fg:black"
|
|
format = "[$status ]($style)"
|
|
|
|
[time]
|
|
disabled = false
|
|
style = "bg:blue"
|
|
format = "[$time]($style)"
|
|
|
|
[username]
|
|
show_always = true
|
|
style_user = "bg:purple"
|
|
style_root = "bg:purple underline"
|
|
format = '[$user]($style)'
|