39 lines
723 B
TOML
39 lines
723 B
TOML
add_newline = true
|
|
format = """$git_branch$git_status$character"""
|
|
right_format = """$username[@](red)$hostname $cmd_duration$time $directory"""
|
|
|
|
[git_branch]
|
|
format = "[$branch]($style) "
|
|
|
|
[git_status]
|
|
format = '[$all_status$ahead_behind]($style)'
|
|
|
|
[username]
|
|
show_always = true
|
|
format = "[$user]($style)"
|
|
style_user = "blue bold"
|
|
|
|
[hostname]
|
|
ssh_only = false
|
|
format = "[$hostname]($style)"
|
|
style = "blue bold"
|
|
|
|
[directory]
|
|
truncation_length = 5
|
|
truncate_to_repo = false
|
|
style = "cyan bold"
|
|
|
|
[cmd_duration]
|
|
min_time = 5_000
|
|
show_milliseconds = true
|
|
format = '[$duration]($style) '
|
|
|
|
[time]
|
|
disabled = false
|
|
format = "[$time]($style)"
|
|
style = "green"
|
|
|
|
[character]
|
|
success_symbol = "[➤](green)"
|
|
error_symbol = "[➤](red)"
|