summaryrefslogtreecommitdiff
path: root/config/essentials/starship.toml
blob: 7500194638f6c449a4212b2ecc79d1053bb1f4d3 (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
47
48
49
50
51
52
53
54
55
56
57
'$schema' = "https://starship.rs/config-schema.json"

# Inserts a blank line between shell prompts
add_newline = false
# format = ' ${custom.upds}'
format = '$directory$status$character'
right_format = '$all'

[directory]
truncation_length = 4
style = "bold lavender"

[status]
format = '$status '
disabled = false

[character]
format = '\$ '

[cmd_duration]
format = ' [$duration]($style) '
min_time = 500
style = 'yellow'

[git_branch]
format = '[$branch]($style)'
style = 'bold purple'
[git_status]
disabled = true
format = '( [$all_status$ahead_behind]($style))'
ahead = '↑'
behind = '↓'
diverged = '↕'

[jobs]
symbol = '*'

[battery]
disabled = true
[c]
disabled = true
[python]
disabled = true
[golang]
disabled = true
[lua]
disabled = true
[nodejs]
disabled = true
[dotnet]
disabled = true

# [custom.upds]
# command = 'cat ~/.cache/updates' # shows output of command
# when = '[ "$(cat ~/.cache/updates)" -gt 0 ]'
# symbol = '📦'
# format = '$output$symbol '