mirror of
https://codeberg.org/hyperreal/dotfiles
synced 2024-11-01 16:53:07 +01:00
84 lines
1.5 KiB
TOML
84 lines
1.5 KiB
TOML
format = """$time$container$directory$all$line_break$username$hostname$character"""
|
|
right_format = """$cmd_duration $jobs $status"""
|
|
|
|
[time]
|
|
disabled = false
|
|
format = '[\[ $time \]]($style) '
|
|
time_format = "%T"
|
|
style = "bold #fab387"
|
|
|
|
[username]
|
|
format = "[$user]($style)@"
|
|
style_user = "#f38ba8"
|
|
style_root = "bold red"
|
|
show_always = true
|
|
|
|
# Second param
|
|
[hostname]
|
|
format = "[$hostname]($style)"
|
|
style = "#b4befe"
|
|
trim_at = ".local"
|
|
ssh_only = false
|
|
disabled = false
|
|
|
|
# Third param
|
|
[directory]
|
|
style = "#a6e3a1"
|
|
truncation_length = 8
|
|
truncate_to_repo = true
|
|
truncation_symbol = "repo: "
|
|
|
|
# Before all the version info (python, nodejs, php, etc.)
|
|
[git_status]
|
|
style = "#cdd6f4"
|
|
ahead = "⇡${count}"
|
|
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
|
|
behind = "⇣${count}"
|
|
deleted = "x"
|
|
|
|
[container]
|
|
style = "bold #f5c2e7"
|
|
format = "[$symbol \\[ $name \\]]($style) "
|
|
|
|
# Last param in the first line/row
|
|
[cmd_duration]
|
|
min_time = 1
|
|
style = "#f9e2af"
|
|
format = "duration: [$duration]($style)"
|
|
disabled = false
|
|
|
|
# Prompt: param 2
|
|
[character]
|
|
format = "$symbol "
|
|
success_symbol = " [:](#94e2d5)"
|
|
error_symbol = " [:](#d20f39)"
|
|
vicmd_symbol = " [<](#94e2d5)"
|
|
|
|
# SYMBOLS
|
|
[status]
|
|
format = 'exit status: [$status_common_meaning$status_signal_name$status]($style)'
|
|
disabled = false
|
|
style = "bold #ff0000"
|
|
|
|
[docker_context]
|
|
symbol = " "
|
|
|
|
[git_branch]
|
|
symbol = " "
|
|
|
|
[golang]
|
|
symbol = " "
|
|
|
|
[nodejs]
|
|
symbol = " "
|
|
|
|
[package]
|
|
symbol = " "
|
|
|
|
[python]
|
|
symbol = " "
|
|
|
|
[rust]
|
|
symbol = " "
|
|
|