|
|
|
format = """\
|
|
|
|
$username\
|
|
|
|
$hostname\
|
|
|
|
$directory\
|
|
|
|
$git_branch\
|
|
|
|
$git_commit\
|
|
|
|
$git_state\
|
|
|
|
$git_status\
|
|
|
|
$time\
|
|
|
|
$line_break\
|
|
|
|
$cmd_duration\
|
|
|
|
$character\
|
|
|
|
"""
|
|
|
|
|
|
|
|
[username]
|
|
|
|
disabled = false
|
|
|
|
show_always = true
|
|
|
|
style = "green"
|
|
|
|
style_user = "green"
|
|
|
|
format = "[$user]($style) "
|
|
|
|
|
|
|
|
[hostname]
|
|
|
|
disable = false
|
|
|
|
ssh_only = false
|
|
|
|
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
|
|
|
|
use_12hr = true
|
|
|
|
style = "purple"
|
|
|
|
time_format = "%F %I:%M%p"
|
|
|
|
format = "[$time]($style)"
|
|
|
|
|
|
|
|
[cmd_duration]
|
|
|
|
style = "black bold"
|
|
|
|
format = "[$duration]($style) "
|
|
|
|
|
|
|
|
[character]
|
|
|
|
success_symbol = "λ"
|
|
|
|
style_success = ""
|
|
|
|
error_symbol = "☠"
|