71 lines
1.2 KiB
TOML
71 lines
1.2 KiB
TOML
add_newline = true
|
||
command_timeout = 1000
|
||
|
||
format = """
|
||
$username\
|
||
$hostname\
|
||
$directory\
|
||
$git_branch\
|
||
$git_status\
|
||
$python\
|
||
$nodejs\
|
||
$rust\
|
||
$golang\
|
||
$cmd_duration\
|
||
$line_break\
|
||
$character"""
|
||
|
||
[character]
|
||
success_symbol = "[❯](bold green)"
|
||
error_symbol = "[❯](bold red)"
|
||
vimcmd_symbol = "[❮](bold blue)"
|
||
|
||
[directory]
|
||
style = "bold blue"
|
||
truncation_length = 3
|
||
truncate_to_repo = true
|
||
read_only = " "
|
||
|
||
[git_branch]
|
||
symbol = " "
|
||
style = "bold mauve"
|
||
format = "[$symbol$branch]($style) "
|
||
|
||
[git_status]
|
||
style = "bold yellow"
|
||
format = "[$all_status$ahead_behind]($style) "
|
||
conflicted = "=${count} "
|
||
ahead = "⇡${count} "
|
||
behind = "⇣${count} "
|
||
diverged = "⇕⇡${ahead_count}⇣${behind_count} "
|
||
untracked = "?${count} "
|
||
stashed = "\\$${count} "
|
||
modified = "!${count} "
|
||
staged = "+${count} "
|
||
renamed = "»${count} "
|
||
deleted = "✘${count} "
|
||
|
||
[cmd_duration]
|
||
min_time = 500
|
||
format = "took [$duration](bold yellow) "
|
||
|
||
[python]
|
||
symbol = " "
|
||
format = "[$symbol$version]($style) "
|
||
style = "bold green"
|
||
|
||
[nodejs]
|
||
symbol = " "
|
||
format = "[$symbol$version]($style) "
|
||
style = "bold green"
|
||
|
||
[rust]
|
||
symbol = " "
|
||
format = "[$symbol$version]($style) "
|
||
style = "bold red"
|
||
|
||
[golang]
|
||
symbol = " "
|
||
format = "[$symbol$version]($style) "
|
||
style = "bold cyan"
|