|
|
@ -6,9 +6,9 @@ format = """\
|
|
|
|
$git_commit\
|
|
|
|
$git_commit\
|
|
|
|
$git_state\
|
|
|
|
$git_state\
|
|
|
|
$git_status\
|
|
|
|
$git_status\
|
|
|
|
$time\
|
|
|
|
$time \
|
|
|
|
$cmd_duration\
|
|
|
|
|
|
|
|
$line_break\
|
|
|
|
$line_break\
|
|
|
|
|
|
|
|
$cmd_duration\
|
|
|
|
$character\
|
|
|
|
$character\
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
@ -17,23 +17,29 @@ disabled = false
|
|
|
|
show_always = true
|
|
|
|
show_always = true
|
|
|
|
style = "green"
|
|
|
|
style = "green"
|
|
|
|
style_user = "green"
|
|
|
|
style_user = "green"
|
|
|
|
|
|
|
|
format = "[$user]($style) "
|
|
|
|
|
|
|
|
|
|
|
|
[hostname]
|
|
|
|
[hostname]
|
|
|
|
disable = false
|
|
|
|
disable = false
|
|
|
|
ssh_only = false
|
|
|
|
ssh_only = false
|
|
|
|
style = "purple"
|
|
|
|
style = "blue"
|
|
|
|
# format = "[$hostname]($style)"
|
|
|
|
format = "[$hostname]($style) "
|
|
|
|
|
|
|
|
|
|
|
|
[git_branch]
|
|
|
|
[git_branch]
|
|
|
|
style = "black bold"
|
|
|
|
style = "black bold"
|
|
|
|
symbol = ""
|
|
|
|
symbol = ""
|
|
|
|
# format = "[$symbol$branch]($style)"
|
|
|
|
format = "[$symbol$branch]($style) "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[git_status]
|
|
|
|
|
|
|
|
style = "yellow"
|
|
|
|
|
|
|
|
modified = "±"
|
|
|
|
|
|
|
|
format = "[$conflicted$deleted$renamed$modified$staged$ahead_behind]($style) "
|
|
|
|
|
|
|
|
|
|
|
|
[directory]
|
|
|
|
[directory]
|
|
|
|
truncation_length = 0
|
|
|
|
truncation_length = 0
|
|
|
|
use_logical_path = true
|
|
|
|
use_logical_path = true
|
|
|
|
truncate_to_repo = false
|
|
|
|
truncate_to_repo = true
|
|
|
|
style = "blue"
|
|
|
|
style = "green"
|
|
|
|
|
|
|
|
|
|
|
|
[time]
|
|
|
|
[time]
|
|
|
|
disabled = false
|
|
|
|
disabled = false
|
|
|
@ -42,10 +48,10 @@ time_format = "%T"
|
|
|
|
format = "[$time]($style)"
|
|
|
|
format = "[$time]($style)"
|
|
|
|
|
|
|
|
|
|
|
|
[cmd_duration]
|
|
|
|
[cmd_duration]
|
|
|
|
# $duration – The command duration (e.g. "15s")
|
|
|
|
style = "black bold"
|
|
|
|
# $style – The default style of the module (e.g. "bold yellow")
|
|
|
|
format = "[$duration]($style) "
|
|
|
|
format = "took [$duration]($style) "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[character]
|
|
|
|
[character]
|
|
|
|
success_symbol = "λ"
|
|
|
|
success_symbol = "λ"
|
|
|
|
style_success = ""
|
|
|
|
style_success = ""
|
|
|
|
|
|
|
|
error_symbol = "☠"
|
|
|
|