-
Notifications
You must be signed in to change notification settings - Fork 2
/
starship.toml
executable file
·217 lines (180 loc) · 5.09 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
# Use custom format
# format = '''
# [┌───────────────────>](bold green)
# [│](bold green)$directory$rust$package
# [└─>](bold green) '''
# format = '$all'
format = '$env_var$os$directory$all$character'
right_format = """$cmd_duration$memory_usage$battery$time"""
[env_var.TMUX]
# default = 'tmux'
style = 'bold green'
format = '[ ]($style)'
[sudo]
disabled = false
[battery]
full_symbol = "🔋"
charging_symbol = "🔌"
discharging_symbol = "⚡"
[[battery.display]]
threshold = 30
style = "bold red"
# Inserts a blank line between shell prompts
# add_newline = true
# Replace the '❯' symbol in the prompt with '➜'
# [character] # The name of the module we are configuring is 'character'
# success_symbol = '[➜](bold green)' # The 'success_symbol' segment is being set to '➜' with the color 'bold green'
# error_symbol = "[✖](bold red) "
[character]
# success_symbol = " [λ](bold green) "
# success_symbol = " [ ](bold green) "
# success_symbol = " [ ❯](bold green) "
# success_symbol = " [ ](bold green) "
success_symbol = " [](bold green) "
error_symbol = " [](bold red)"
# continuation_prompt = "▶▶"
[fill]
symbol = '-'
style = 'bold green'
# Disable the package module, hiding it from the prompt completely
[cmd_duration]
min_time = 10_000 # Show command duration over 10,000 milliseconds (=10 sec)
format = " took [$duration]($style) "
# disabled = false
[directory]
truncation_length = 5
format = "[$path]($style)[$lock_symbol]($lock_style) "
[git_branch]
# symbol = ""
# style = "bold white"
# format = '[\($symbol$branch\)]($style) '
format = '[$symbol$branch]($style) '
# style = "bg:#394260"
# format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)'
# [git_status]
# untracked = ""
# staged = '[++\($count\)](green)'
# format = '([\[$conflicted$deleted$renamed$modified$staged$behind\]]($style) )'
# modified = '*'
# [status]
# disabled = false
# format = '[\[$status - $common_meaning\]](green)'
[git_status]
# format = "[$all_status$ahead_behind]($style)"
format = '([\[ $all_status$ahead_behind\]]($style) )'
# style='bright-purple'
# format='([](fg:$style)[ $all_status$ahead_behind](bg:$style bold black)[](fg:$style))'
# ahead = "⇡ $count "
# behind = "⇣ $count "
# deleted = "🗑 $count "
# diverged = " $count "
# stashed = "📦 $count "
# modified = "פֿ $count "
# staged = '[ $count ](green)'
# renamed = " $count "
# untracked = "🤷 $count "
# style = "bold red"
conflicted = '~$count '
ahead = '⇡$count '
behind = '⇣$count '
diverged = '⇕ $count '
up_to_date = ' '
# untracked = ' $count '
untracked = ' $count '
# stashed='\$$count '
stashed = ' $count '
# modified='!$count '
# modified = ' $count '
modified = ' $count '
# staged='+$count '
# staged = ' $count '
staged = ' $count '
# renamed='»$count '
renamed = ' $count '
# deleted = ' $count'
deleted = ' $count'
[git_state]
format = '\([$state( $progress_current/$progress_total)]($style)\) '
style = "bright-black"
[git_metrics]
added_style = 'bold blue'
format = '[+ $added]($added_style)/[- $deleted]($deleted_style) '
# [git_commit]
# commit_hash_length = 4
# tag_symbol = '🔖 '
[package]
[nodejs]
# symbol = ""
# style = "bg:#212736"
# format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[rust]
# symbol = ""
# style = "bg:#212736"
# format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[golang]
# symbol = "ﳑ"
# style = "bg:#212736"
# format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[python]
# format = "[$symbol$version]($style) "
# style = "bold green"
[elixir]
[lua]
disabled = false
[os]
disabled = false
[os.symbols]
Macos = " "
[hostname]
ssh_only = false
format = "<[$hostname]($style)>"
trim_at = "-"
style = "bold dimmed white"
disabled = true
[memory_usage]
# symbol = " "
symbol = " "
format = " using$symbol[${ram}( | ${swap})]($style) "
threshold = 70
# style = "bold dimmed green"
style = 'bold dimmed yellow'
disabled = false
[jobs]
symbol = '+'
threshold = 1
number_threshold = 2
symbol_threshold = 0
format = '[$symbol$number]($style) '
disabled = true
[time]
# time_format = "%T"
# format = "🕙 $time($style) "
style = "bold dimmed blue"
disabled = false
[username]
style_user = 'blue bold'
style_root = 'black bold'
format = 'as [$user]($style) '
disabled = false
# show_always = true
[nix_shell]
disabled = false
impure_msg = '[impure shell](bold red)'
pure_msg = '[pure shell](bold green)'
unknown_msg = '[default shell](bold yellow)'
format = 'via [❄️ $state( \($name\))](bold blue) '
# heuristic = true
[line_break]
disabled = false
[kubernetes]
symbol = "⎈ "
disabled = false
# format = 'on [⎈ ($user on )($cluster in )$context \($namespace\)](dimmed blue) '
format = 'on [⎈ $context \($namespace\)](bold blue) '
# detect_files=['yml', 'yaml', 'json']
[docker_context]
# detect_files = ['docker-compose.yml', 'docker-compose.yaml', 'Dockerfile']
# detect_files = []
# only_with_files = false