2022-02-10 17:08:11 +01:00
|
|
|
## FIRST LINE/ROW: Info & Status
|
|
|
|
[username]
|
|
|
|
format = " [$user]($style)@"
|
2022-07-07 18:32:27 +02:00
|
|
|
style_user = "#f38ba8"
|
2022-02-10 17:08:11 +01:00
|
|
|
style_root = "bold red"
|
|
|
|
show_always = true
|
|
|
|
|
|
|
|
# Second param
|
|
|
|
[hostname]
|
|
|
|
format = "[$hostname]($style):"
|
2022-07-07 18:32:27 +02:00
|
|
|
style = "#b4befe"
|
|
|
|
trim_at = "."
|
2022-02-10 17:08:11 +01:00
|
|
|
ssh_only = false
|
|
|
|
disabled = false
|
|
|
|
|
|
|
|
# Third param
|
|
|
|
[directory]
|
2022-07-07 18:32:27 +02:00
|
|
|
style = "#fab387"
|
2022-02-10 17:08:11 +01:00
|
|
|
truncation_length = 0
|
|
|
|
truncate_to_repo = true
|
|
|
|
truncation_symbol = "repo: "
|
|
|
|
|
|
|
|
# Before all the version info (python, nodejs, php, etc.)
|
|
|
|
[git_status]
|
2022-07-07 18:32:27 +02:00
|
|
|
style = "#cdd6f4"
|
2022-02-10 17:08:11 +01:00
|
|
|
ahead = "⇡${count}"
|
|
|
|
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
|
|
|
|
behind = "⇣${count}"
|
|
|
|
deleted = "x"
|
|
|
|
|
2022-07-07 18:32:27 +02:00
|
|
|
[container]
|
|
|
|
format = "[$symbol \\[$name\\]]($style)"
|
|
|
|
|
2022-02-10 17:08:11 +01:00
|
|
|
# Last param in the first line/row
|
|
|
|
[cmd_duration]
|
|
|
|
min_time = 1
|
2022-07-07 18:32:27 +02:00
|
|
|
style = "#f9e2af"
|
2022-02-10 17:08:11 +01:00
|
|
|
format = "[$duration]($style)"
|
|
|
|
disabled = false
|
|
|
|
|
|
|
|
# Prompt: param 2
|
|
|
|
[character]
|
2022-07-07 18:32:27 +02:00
|
|
|
format = "$symbol "
|
|
|
|
success_symbol = " [%](#94e2d5)"
|
|
|
|
error_symbol = " [%](#d20f39)"
|
|
|
|
vicmd_symbol = " [<](#94e2d5)"
|
2022-02-10 17:08:11 +01:00
|
|
|
|
|
|
|
# SYMBOLS
|
|
|
|
[status]
|
|
|
|
format = '[$status_common_meaning$status_signal_name$status]($style)'
|
|
|
|
disabled = false
|
|
|
|
style = "bold #ff0000"
|
|
|
|
|
|
|
|
[docker_context]
|
|
|
|
symbol = " "
|
|
|
|
|
|
|
|
[git_branch]
|
|
|
|
symbol = " "
|
|
|
|
|
|
|
|
[golang]
|
|
|
|
symbol = " "
|
|
|
|
|
|
|
|
[nix_shell]
|
|
|
|
symbol = " "
|
|
|
|
|
|
|
|
[nodejs]
|
|
|
|
symbol = " "
|
|
|
|
|
|
|
|
[package]
|
|
|
|
symbol = " "
|
|
|
|
|
|
|
|
[perl]
|
|
|
|
symbol = " "
|
|
|
|
|
|
|
|
[python]
|
|
|
|
symbol = " "
|
|
|
|
|
|
|
|
[ruby]
|
|
|
|
symbol = " "
|
|
|
|
|
|
|
|
[rust]
|
|
|
|
symbol = " "
|
|
|
|
|