2024-08-18 19:31:22 +02:00
|
|
|
# Sets user-defined palette
|
|
|
|
palette = "catppuccin_mocha"
|
|
|
|
|
|
|
|
format = """$time$container$directory$all$line_break$username$hostname$character"""
|
2024-09-24 23:55:02 +02:00
|
|
|
right_format = """$cmd_duration$jobs$status"""
|
2024-08-18 19:31:22 +02:00
|
|
|
|
|
|
|
[time]
|
|
|
|
disabled = false
|
|
|
|
format = '[\[ $time \]]($style) '
|
|
|
|
time_format = "%T"
|
|
|
|
style = "bold peach"
|
|
|
|
|
|
|
|
[username]
|
|
|
|
format = "[$user]($style)@"
|
|
|
|
style_user = "red"
|
|
|
|
style_root = "bold red"
|
|
|
|
show_always = true
|
|
|
|
|
|
|
|
# Second param
|
|
|
|
[hostname]
|
|
|
|
format = "[$hostname]($style)"
|
|
|
|
style = "lavender"
|
|
|
|
trim_at = ".local"
|
|
|
|
ssh_only = false
|
|
|
|
disabled = false
|
|
|
|
|
|
|
|
# Third param
|
|
|
|
[directory]
|
|
|
|
style = "subtext0"
|
|
|
|
truncation_length = 8
|
|
|
|
truncate_to_repo = true
|
|
|
|
truncation_symbol = "repo: "
|
|
|
|
|
|
|
|
# Before all the version info (python, nodejs, php, etc.)
|
|
|
|
[git_status]
|
|
|
|
style = "text"
|
|
|
|
ahead = "⇡${count}"
|
|
|
|
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
|
|
|
|
behind = "⇣${count}"
|
|
|
|
deleted = "x"
|
|
|
|
|
|
|
|
[container]
|
|
|
|
style = "bold pink"
|
|
|
|
format = "[$symbol \\[ $name \\]]($style) "
|
|
|
|
|
|
|
|
# Last param in the first line/row
|
|
|
|
[cmd_duration]
|
|
|
|
min_time = 1
|
|
|
|
style = "yellow"
|
2024-09-24 23:55:02 +02:00
|
|
|
format = '\[duration: [$duration]($style)\] '
|
2024-08-18 19:31:22 +02:00
|
|
|
disabled = false
|
|
|
|
|
|
|
|
# Prompt: param 2
|
|
|
|
[character]
|
2024-09-24 23:55:02 +02:00
|
|
|
format = '$symbol '
|
|
|
|
success_symbol = ' [➜](bold teal)'
|
|
|
|
error_symbol = ' [➜](bold red)'
|
|
|
|
vimcmd_symbol = ' [V](bold green)'
|
2024-08-18 19:31:22 +02:00
|
|
|
|
|
|
|
# SYMBOLS
|
|
|
|
[status]
|
2024-09-24 23:55:02 +02:00
|
|
|
format = '\[exit status: [$status = $common_meaning]($style)\]'
|
2024-08-18 19:31:22 +02:00
|
|
|
disabled = false
|
|
|
|
style = "bold red"
|
2024-09-24 23:55:02 +02:00
|
|
|
recognize_signal_code = true
|
|
|
|
map_symbol = true
|
2024-08-18 19:31:22 +02:00
|
|
|
|
|
|
|
[docker_context]
|
|
|
|
symbol = " "
|
|
|
|
|
|
|
|
[git_branch]
|
|
|
|
symbol = " "
|
|
|
|
|
|
|
|
[golang]
|
|
|
|
symbol = " "
|
|
|
|
|
|
|
|
[nodejs]
|
|
|
|
symbol = " "
|
|
|
|
|
|
|
|
[package]
|
|
|
|
symbol = " "
|
|
|
|
|
|
|
|
[python]
|
|
|
|
symbol = " "
|
|
|
|
|
|
|
|
[rust]
|
|
|
|
symbol = " "
|
|
|
|
|
|
|
|
[palettes.catppuccin_mocha]
|
|
|
|
rosewater = "#f5e0dc"
|
|
|
|
flamingo = "#f2cdcd"
|
|
|
|
pink = "#f5c2e7"
|
|
|
|
mauve = "#cba6f7"
|
|
|
|
red = "#f38ba8"
|
|
|
|
maroon = "#eba0ac"
|
|
|
|
peach = "#fab387"
|
|
|
|
yellow = "#f9e2af"
|
|
|
|
green = "#a6e3a1"
|
|
|
|
teal = "#94e2d5"
|
|
|
|
sky = "#89dceb"
|
|
|
|
sapphire = "#74c7ec"
|
|
|
|
blue = "#89b4fa"
|
|
|
|
lavender = "#b4befe"
|
|
|
|
text = "#cdd6f4"
|
|
|
|
subtext1 = "#bac2de"
|
|
|
|
subtext0 = "#a6adc8"
|
|
|
|
overlay2 = "#9399b2"
|
|
|
|
overlay1 = "#7f849c"
|
|
|
|
overlay0 = "#6c7086"
|
|
|
|
surface2 = "#585b70"
|
|
|
|
surface1 = "#45475a"
|
|
|
|
surface0 = "#313244"
|
|
|
|
base = "#1e1e2e"
|
|
|
|
mantle = "#181825"
|
|
|
|
crust = "#11111b"
|