2023-08-27 11:43:02 +02:00
|
|
|
|
add_newline = false
|
|
|
|
|
format = """$username\
|
|
|
|
|
$hostname\
|
|
|
|
|
$git_branch\
|
|
|
|
|
$git_commit\
|
|
|
|
|
$git_state\
|
|
|
|
|
$git_status\
|
|
|
|
|
${custom.toolbox}\
|
|
|
|
|
$nix_shell\
|
|
|
|
|
$jobs\
|
|
|
|
|
$time\
|
|
|
|
|
$cmd_duration\
|
|
|
|
|
$line_break\
|
2024-05-07 13:45:20 +02:00
|
|
|
|
$directory\
|
2023-08-27 11:43:02 +02:00
|
|
|
|
$character"""
|
|
|
|
|
|
|
|
|
|
[username]
|
2024-05-07 13:45:20 +02:00
|
|
|
|
format = "[$user]($style)@"
|
2023-08-27 11:43:02 +02:00
|
|
|
|
show_always = true
|
2024-05-07 13:45:20 +02:00
|
|
|
|
style_user = "cyan"
|
2023-08-27 11:43:02 +02:00
|
|
|
|
|
|
|
|
|
[hostname]
|
|
|
|
|
format = "[$hostname]($style) "
|
|
|
|
|
ssh_only = false
|
2024-05-07 13:45:20 +02:00
|
|
|
|
style = "purple"
|
2023-08-27 11:43:02 +02:00
|
|
|
|
|
|
|
|
|
[directory]
|
2024-05-07 13:45:20 +02:00
|
|
|
|
style = "bright-purple"
|
2023-08-27 11:43:02 +02:00
|
|
|
|
|
|
|
|
|
[git_branch]
|
|
|
|
|
format = "[$branch]($style)"
|
|
|
|
|
style = "cyan"
|
|
|
|
|
|
|
|
|
|
[git_state]
|
|
|
|
|
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
|
|
|
|
style = "cyan"
|
|
|
|
|
|
|
|
|
|
[git_status]
|
|
|
|
|
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
|
|
|
|
|
style = "cyan"
|
|
|
|
|
conflicted = ""
|
|
|
|
|
untracked = ""
|
|
|
|
|
modified = ""
|
|
|
|
|
staged = ""
|
|
|
|
|
renamed = ""
|
|
|
|
|
deleted = ""
|
|
|
|
|
stashed = "≡"
|
|
|
|
|
|
|
|
|
|
[custom.toolbox]
|
|
|
|
|
when = "ls /run/.containerenv"
|
|
|
|
|
symbol = " "
|
|
|
|
|
command = "~/.local/bin/toolbox_name.sh"
|
|
|
|
|
format = "in [$symbol($output )]($style)"
|
|
|
|
|
style = "bold purple"
|
|
|
|
|
|
|
|
|
|
[time]
|
|
|
|
|
disabled = true
|
|
|
|
|
|
|
|
|
|
[cmd_duration]
|
2024-05-07 13:45:20 +02:00
|
|
|
|
format = " [$duration]($style) "
|
|
|
|
|
style = "italic yellow"
|
2023-08-27 11:43:02 +02:00
|
|
|
|
|
|
|
|
|
[character]
|
2024-05-07 13:45:20 +02:00
|
|
|
|
success_symbol = "[%](green)"
|
|
|
|
|
error_symbol = "[%](red)"
|