summaryrefslogtreecommitdiff
path: root/dot-config/starship.toml
blob: 1760ef0d5fd4fb8245d0c94839e31b21a57eb4dc (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
45
46
format = """
$username\
$hostname\
$directory\
$git_branch\
$git_commit\
$git_state\
$git_status\
$cmd_duration\

$line_break\

$character
"""

[username]
format = "[$user]($style)"
show_always = true
style_user = "fg:white"

[hostname]
format = "[@$ssh_symbol$hostname ]($style)"
ssh_only = false
ssh_symbol = ""
style = "fg:white"

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

[character]
error_symbol = "[\\$ ](red)"
format = "$symbol"
success_symbol = "[\\$ ](white)"