|
|
|
@ -0,0 +1,51 @@
|
|
|
|
|
format = """\
|
|
|
|
|
$username\
|
|
|
|
|
$hostname\
|
|
|
|
|
$directory\
|
|
|
|
|
$git_branch\
|
|
|
|
|
$git_commit\
|
|
|
|
|
$git_state\
|
|
|
|
|
$git_status\
|
|
|
|
|
$time\
|
|
|
|
|
$cmd_duration\
|
|
|
|
|
$line_break\
|
|
|
|
|
$character\
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
[username]
|
|
|
|
|
disabled = false
|
|
|
|
|
show_always = true
|
|
|
|
|
style = "green"
|
|
|
|
|
style_user = "green"
|
|
|
|
|
|
|
|
|
|
[hostname]
|
|
|
|
|
disable = false
|
|
|
|
|
ssh_only = false
|
|
|
|
|
style = "purple"
|
|
|
|
|
# format = "[$hostname]($style)"
|
|
|
|
|
|
|
|
|
|
[git_branch]
|
|
|
|
|
style = "black bold"
|
|
|
|
|
symbol = ""
|
|
|
|
|
# format = "[$symbol$branch]($style)"
|
|
|
|
|
|
|
|
|
|
[directory]
|
|
|
|
|
truncation_length = 0
|
|
|
|
|
use_logical_path = true
|
|
|
|
|
truncate_to_repo = false
|
|
|
|
|
style = "blue"
|
|
|
|
|
|
|
|
|
|
[time]
|
|
|
|
|
disabled = false
|
|
|
|
|
style = "purple"
|
|
|
|
|
time_format = "%T"
|
|
|
|
|
format = "[$time]($style)"
|
|
|
|
|
|
|
|
|
|
[cmd_duration]
|
|
|
|
|
# $duration – The command duration (e.g. "15s")
|
|
|
|
|
# $style – The default style of the module (e.g. "bold yellow")
|
|
|
|
|
format = "took [$duration]($style) "
|
|
|
|
|
|
|
|
|
|
[character]
|
|
|
|
|
success_symbol = "λ"
|
|
|
|
|
style_success = ""
|