blob: ec88341dd1d128246acd271422e9c5df85d49947 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
format = """
\\[$username@$hostname $directory\\] \
$container\
$git_branch$git_commit$git_state$git_status\
$line_break\
\\$
"""
[username]
format = "[$user]($style)"
show_always = true
style_user = "foreground"
[hostname]
format = "[$hostname]($style)"
ssh_only = false
style = "foreground"
[directory]
format = '[$path]($style)'
truncation_length = 1
style = "foreground"
[container]
format = '[\[$name\]]($style) '
style = 'bright-white dimmed'
[git_branch]
format = "[$symbol$branch(:$remote_branch)]($style) "
only_attached = false
style = "bold green"
symbol = " "
[git_commit]
format = "[( $hash $tag)]($style) "
style = "bold green"
tag_disabled = false
tag_symbol = " "
[git_status]
format = "[($all_status$ahead_behind)]($style)"
style = "bold red"
|