Change layout to per-device top level

This commit is contained in:
2026-06-07 01:08:50 +08:00
parent 072e6ae564
commit 42f2931bac
21 changed files with 262 additions and 4038 deletions
+70
View File
@@ -0,0 +1,70 @@
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"