37 lines
737 B
TOML
37 lines
737 B
TOML
add_newline = false
|
|
format = "$username@$hostname $directory$git_branch$git_status$character"
|
|
|
|
# === Username / Host ===
|
|
[username]
|
|
show_always = true
|
|
format = "[$user]($style)"
|
|
style_user = "bold white"
|
|
|
|
[hostname]
|
|
ssh_only = false
|
|
format = "[$hostname]($style) "
|
|
style = "bold cyan"
|
|
|
|
# === Directory ===
|
|
[directory]
|
|
truncation_length = 3
|
|
truncation_symbol = "../"
|
|
format = "[$path]($style) "
|
|
style = "bold yellow"
|
|
|
|
# === Git ===
|
|
[git_branch]
|
|
symbol = ""
|
|
format = "[$symbol$branch]($style) "
|
|
style = "bold cyan"
|
|
|
|
[git_status]
|
|
style = "bold white"
|
|
format = "([$all_status$ahead_behind]($style)) "
|
|
|
|
# === Prompt Symbol ===
|
|
[character]
|
|
success_symbol = "[>](bold green) "
|
|
error_symbol = "[>](bold red) "
|
|
vicmd_symbol = "[<](bold yellow) "
|