2023-09-05 03:21:01 +00:00
|
|
|
format = """
|
|
|
|
╭─ \
|
|
|
|
$username\
|
|
|
|
$hostname\
|
|
|
|
$git_branch\
|
|
|
|
$directory\
|
|
|
|
$line_break\
|
|
|
|
╰─
|
|
|
|
"""
|
|
|
|
|
|
|
|
[username]
|
2024-06-22 02:52:21 +00:00
|
|
|
style_user = 'bold purple'
|
|
|
|
style_root = 'bold purple'
|
2023-09-05 03:21:01 +00:00
|
|
|
format = '[$user]($style) '
|
|
|
|
disabled = false
|
|
|
|
show_always = true
|
|
|
|
|
|
|
|
[hostname]
|
|
|
|
ssh_only = false
|
2024-06-22 02:52:21 +00:00
|
|
|
format = 'on [$hostname](bold blue) '
|
2023-09-05 03:21:01 +00:00
|
|
|
disabled = false
|
|
|
|
|
|
|
|
[directory]
|
|
|
|
format = '[$path]($style)[$read_only]($read_only_style) '
|
|
|
|
truncation_length = -1
|
|
|
|
truncate_to_repo = false
|
|
|
|
truncation_symbol = '…/'
|
|
|
|
|
|
|
|
[git_branch]
|
|
|
|
style = 'bold fg:97'
|
|
|
|
format = 'at [$symbol$branch(:$remote_branch)]($style) '
|
|
|
|
|