|
|
|
format = """\
|
|
|
|
$username\
|
|
|
|
$hostname\
|
|
|
|
$directory\
|
|
|
|
$git_branch\
|
|
|
|
$git_commit\
|
|
|
|
$git_state\
|
|
|
|
$git_status\
|
|
|
|
$time \
|
|
|
|
$line_break\
|
|
|
|
$cmd_duration\
|
|
|
|
$character\
|
|
|
|
"""
|
|
|
|
|
|
|
|
[username]
|
|
|
|
style = "green"
|
|
|
|
style_user = "green"
|
|
|
|
format = "[$user]($style) "
|
|
|
|
|
|
|
|
[hostname]
|
|
|
|
style = "blue"
|
|
|
|
format = "[$hostname]($style) "
|
|
|
|
|
|
|
|
[directory]
|
|
|
|
truncation_length = 0
|
|
|
|
use_logical_path = true
|
|
|
|
truncate_to_repo = true
|
|
|
|
style = "green"
|
|
|
|
|
|
|
|
[git_branch]
|
|
|
|
style = "black bold"
|
|
|
|
symbol = ""
|
|
|
|
format = "[$symbol$branch]($style) "
|
|
|
|
|
|
|
|
[git_status]
|
|
|
|
style = "yellow"
|
|
|
|
modified = "±"
|
|
|
|
format = "[$conflicted$deleted$renamed$modified$staged$ahead_behind]($style) "
|
|
|
|
|
|
|
|
[time]
|
|
|
|
disabled = false
|
|
|
|
style = "purple"
|
|
|
|
time_format = "%F %I:%M%p"
|
|
|
|
format = "[$time]($style)"
|
|
|
|
|
|
|
|
|
|
|
|
[cmd_duration]
|
|
|
|
min_time = 0
|
|
|
|
style = "black bold"
|
|
|
|
format = "[$duration]($style) "
|
|
|
|
|
|
|
|
[character]
|
|
|
|
success_symbol = "λ"
|
|
|
|
style_success = ""
|
|
|
|
error_symbol = "[☠](red)"
|