-
Notifications
You must be signed in to change notification settings - Fork 0
/
starship.toml
103 lines (84 loc) · 2.22 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# ~/.config/starship.toml
# Inserts a blank line between shell prompts
add_newline = true
# Change command timeout from 500 to 1000 ms
command_timeout = 1000
# Change the default prompt format
format = """\
[╭╴](238)$env_var\
$all[](238)$character"""
#
# Change the default prompt characters
[character]
success_symbol = "[](#528BFF) "
error_symbol = "[](#528BFF) "
# Shows an icon that should be included by zshrc script based on the distribution or os
[env_var.STARSHIP_DISTRO]
format = '[$env_value](bold white) '
variable = "STARSHIP_DISTRO"
disabled = false
# Shows the username
[username]
format = "[$user](#528BFF) "
disabled = false
show_always = true
[directory]
truncation_length = 3
truncation_symbol = "…/"
home_symbol = "🏠"
read_only_style = "197"
read_only = " "
format = "📂️ [$path]($style)[$read_only]($read_only_style) "
[cmd_duration]
min_time = 4
show_milliseconds = false
disabled = false
format = "took [$duration](italic #1abb9c) ⏳"
[git_branch]
symbol = " "
format = "on [$symbol](#FF6B6B)[$branch]($style) "
truncation_length = 35
truncation_symbol = "…/"
style = "bold green"
[git_status]
format = '[\($all_status$ahead_behind\)]($style) '
style = "bold green"
conflicted = "⚔️ "
up_to_date = "👌"
untracked = "⚠️ "
ahead = "🏎️ 💨 ⇡${count}"
diverged = "🔱 🏎️ 💨 ⇕⇡${ahead_count} 🐢 ⇣${behind_count}"
behind = "🐢 ⇣${count}"
stashed = "📦 "
modified = "📝 "
staged = '🗃️ [++\($count\)](green)'
renamed = "📛 "
deleted = "🗑️ "
[git_state]
format = '[\($state( $progress_current of $progress_total)\)]($style) '
[terraform]
format = "via [ terraform $version]($style) 壟 [$workspace]($style) "
[vagrant]
format = "via [ vagrant $version]($style) "
[docker_context]
format = "via [ $context](bold blue) "
[helm]
format = "via [ $version](bold purple) "
[python]
symbol = " "
python_binary = "python3"
[nodejs]
format = "via [ $version](bold green) "
disabled = true
[ruby]
format = "via [ $version]($style) "
[memory_usage]
format = "$symbol[${ram}( | ${swap})]($style) "
threshold = 70
style = "bold dimmed white"
disabled = false
[time]
time_format = "%T"
format = "🕙 [$time]($style) "
style = "#FF8121"
disabled = false