summaryrefslogtreecommitdiff
path: root/dot-config/starship.toml
blob: 594f6917effb60ed8256294d464d8d41b4affa21 (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 = "bright-white"

[hostname]
format = "[$hostname]($style)"
ssh_only = false
style = "bright-white"

[directory]
format = '[$path]($style)'
truncation_length = 1
style = "bright-white"

[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"