summaryrefslogtreecommitdiff
path: root/config/essentials/starship.toml
blob: c78276690e9dc73b3991adbf9771d0630bca3051 (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
'$schema' = "https://starship.rs/config-schema.json"

# Inserts a blank line between shell prompts
add_newline = false
# format = ' ${custom.upds}'
format = '$directory($git_branch$git_state$git_status$status)$character'
right_format = """"""

[character]
format = '\$ '

[git_branch]
format = '[$branch(:$remote_branch)]($style) '
style = 'bold purple'

[git_status]
format = '[$all_status$ahead_behind]($style) '

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

[cmd_duration]
min_time = 500

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

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