blob: efcaf48b19945ac6c4037d51b4c2c38610f416d4 (
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
|
'$schema' = "https://starship.rs/config-schema.json"
# Inserts a blank line between shell prompts
add_newline = false
# format = ' ${custom.upds}'
format = ' [\[$username@$hostname\]](bg:#000000) $all'
right_format = """$status"""
[character]
format = ' \$ '
[username]
style_root = "bold red"
style_user = "bold purple"
format = "[$user]($style bg:#000000)"
show_always = true
disabled = false
[hostname]
ssh_only = false
style = "bold cyan bg:#000000"
format = "[$hostname]($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 '
|