summaryrefslogtreecommitdiff
path: root/home-manager/starship.toml
blob: c51aee62b594a88189d8ccc1b8c243c5d2dd85fc (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
format = """
[\ue0b6](blue)$username$directory$git_branch$git_status$nix_shell$line_break$character
"""
right_format = "$cmd_duration$time"

add_newline = false

[username]
show_always = true
style_user = "bg:blue fg:black bold"
style_root = "bg:red fg:black bold"
format = "[ $user ]($style)"

[hostname]
ssh_only = true
style = "bg:blue fg:black"
format = "[@$hostname ]($style)"

[directory]
style = "bg:cyan fg:black"
format = "[\ue0b0](fg:blue bg:cyan)[ $path ]($style)[\ue0b4](fg:cyan)"
truncation_length = 4
truncation_symbol = "../"

[git_branch]
symbol = "\ue0a0"
style = "bg:green fg:black"
format = " [\ue0b6](fg:green)[ $symbol $branch ]($style)"

[git_status]
style = "bg:yellow fg:black bold"
format = "([\ue0b0](fg:green bg:yellow)[ $all_status$ahead_behind ]($style)[\ue0b4](fg:yellow))"

[nix_shell]
symbol = "\uf313"
style = "bg:bright-black fg:white"
format = " [\ue0b6](fg:bright-black)[ $symbol $name ]($style)[\ue0b4](fg:bright-black)"

[cmd_duration]
min_time = 500
show_milliseconds = false
style = "bg:bright-black fg:yellow"
format = "[\ue0b6](fg:bright-black)[ took $duration ]($style)"

[time]
disabled = false
time_format = "%R"
style = "bg:bright-black fg:magenta"
format = "[ $time ]($style)[\ue0b4](fg:bright-black)"

[character]
success_symbol = "[>](bold cyan)"
error_symbol = "[>](bold red)"
vimcmd_symbol = "[<](bold cyan)"