-
Notifications
You must be signed in to change notification settings - Fork 0
/
starship.toml
56 lines (47 loc) · 1.29 KB
/
starship.toml
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
format = """
$directory\
$git_branch\
$git_state\
$git_status\
$git_metrics\
$fill\
$cmd_duration
$character"""
[fill]
symbol = " "
[directory]
style = "#00ffff"
read_only = " "
truncation_length = 4
truncate_to_repo = false
[character]
success_symbol = "[❯](#39ff14)"
error_symbol = "[❯](red)"
[git_branch]
symbol = " "
format = "[$symbol$branch]($style) "
style = "#ffd700"
[git_status]
style = "bg:color_git_status fg:color_foreground_dark"
staged = " ${count}" # nf-fa-check
modified = " ~ ${count}" # nf-fa-edit
renamed = "${count}" # nf-md-cursor_text
untracked = " ${count}" # nf-fa-question
deleted = "Δ ${count}" # nf-fa-remove
conflicted = "✖ ${count}" # nf-fa-flag
stashed = " ${count}" # nf-fa-bank
up_to_date = ""
ahead = " ${count}" # nf-md-arrow_expand_up
behind = " ${count}" # nf-md-arrow_expand_down
diverged = " ${ahead_count} ${behind_count}" # nf-md-arrow_expand_vertical
format = "[($staged$modified$renamed$untracked$deleted$conflicted$stashed$ahead_behind )]($style)"
[git_state]
format = '\([$state( $progress_current/$progress_total)]($style)\) '
style = "#ffd700"
[git_metrics]
added_style = 'bold blue'
format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
[cmd_duration]
format = "[$duration]($style)"
min_time = 1
style = "#ffffff"