-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstarship.toml
More file actions
257 lines (215 loc) · 4.48 KB
/
Copy pathstarship.toml
File metadata and controls
257 lines (215 loc) · 4.48 KB
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
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
# SPDX-FileCopyrightText: Chris Wilson <christopher.david.wilson@gmail.com>
#
# SPDX-License-Identifier: MIT
'$schema' = 'https://starship.rs/config-schema.json'
command_timeout = 10000
format = """
[](fg:black)\
$os\
$sudo\
$username\
[](fg:black bg:bright-yellow)\
$hostname\
[](fg:bright-yellow bg:yellow)\
$directory\
[](fg:yellow bg:green)\
$git_branch\
$git_commit\
$git_state\
$git_metrics\
$git_status\
[](fg:green bg:blue)\
$golang\
$nodejs\
$perl\
$python\
$ruby\
$rust\
[](fg:blue bg:bright-black)\
$package\
[](fg:bright-black bg:black)\
$battery\
$time\
$cmd_duration\
[](fg:black)\
$line_break\
$shlvl\
$character\
"""
# --- Left Prompt ---
# Prompt
[character]
disabled = false
format = '[$symbol ]($style)'
success_symbol = '[❯](fg:green)'
error_symbol = '[❯](fg:red)'
vimcmd_symbol = '[❮](fg:green)'
vimcmd_replace_one_symbol = '[❮](fg:purple)'
vimcmd_replace_symbol = '[❮](fg:purple)'
vimcmd_visual_symbol = '[❮](fg:yellow)'
[line_break]
disabled = false
[shlvl]
disabled = true # Disabled because VS Code Terminal starts with a shlvl of 3
style = 'fg:white'
format = '[$symbol]($style)'
repeat = true
symbol = '❯'
repeat_offset = 1
threshold = 0
# System
[os]
disabled = false
style = 'fg:white bg:black'
format = '[$symbol ]($style)'
[os.symbols]
Alpaquita = ''
Alpine = ''
AlmaLinux = ''
Amazon = ''
Android = ''
Arch = ''
Artix = ''
CentOS = ''
Debian = ''
DragonFly = ''
Emscripten = ''
EndeavourOS = ''
Fedora = ''
FreeBSD = ''
Garuda = ''
Gentoo = ''
HardenedBSD = ''
Illumos = ''
Kali = ''
Linux = ''
Mabox = ''
Macos = ''
Manjaro = ''
Mariner = ''
MidnightBSD = ''
Mint = ''
NetBSD = ''
NixOS = ''
OpenBSD = ''
openSUSE = ''
OracleLinux = ''
Pop = ''
Raspbian = ''
Redhat = ''
RedHatEnterprise = ''
RockyLinux = ''
Redox = ''
Solus = ''
SUSE = ''
Ubuntu = ''
Unknown = ''
Void = ''
Windows = ''
[sudo]
disabled = false
symbol = ''
style = 'fg:purple bg:black'
format = '[$symbol ]($style)'
[username]
show_always = false
style_user = 'fg:white bg:black'
style_root = 'fg:purple bg:black'
format = '[($user )]($style)'
# Hostname / SSH
[hostname]
ssh_symbol = ' '
disabled = false
ssh_only = true
style = 'fg:black bg:bright-yellow'
format ='[ $ssh_symbol$hostname ]($style)'
# Path
[directory]
disabled = false
read_only = ''
read_only_style = 'fg:black bg:yellow'
style = 'fg:black bg:yellow'
format = '[ $path([ $read_only]($read_only_style)) ]($style)'
truncation_length = 3
truncation_symbol = '…/'
# SCM
## Git
[git_branch]
disabled = false
symbol = ''
only_attached = false
style = 'fg:black bg:green'
format = '[ $symbol $branch(:$remote_branch) ]($style)'
[git_commit]
disabled = false
only_detached = true
tag_disabled = false
tag_symbol = ' '
style = 'fg:black bg:green'
format = '[(\($hash $tag\) )]($style)'
[git_state]
disabled = false
style = 'fg:black bg:green'
format = '[(\($state( $progress_current/$progress_total)\) )]($style)'
[git_metrics]
disabled = true
[git_status]
disabled = false
ignore_submodules = false
style = 'fg:black bg:green'
format = '[(\[$all_status$ahead_behind\] )]($style)'
# Languages / Runtimes
[golang]
symbol = ''
style = 'fg:black bg:blue'
format = '[ $symbol( $version) ]($style)'
[nodejs]
symbol = ''
style = 'fg:black bg:blue'
format = '[ $symbol( $version) ]($style)'
[perl]
symbol = ''
style = 'fg:black bg:blue'
format = '[ $symbol( $version) ]($style)'
[python]
symbol = ''
style = 'fg:black bg:blue'
format = '[ $symbol( $version) ([](fg:purple bg:blue)[$virtualenv](fg:black bg:purple)[](fg:purple bg:blue))]($style)'
[ruby]
symbol = ''
style = 'fg:black bg:blue'
format = '[ $symbol( $version) ]($style)'
[rust]
symbol = ''
style = 'fg:black bg:blue'
format = '[ $symbol( $version) ]($style)'
# Package Version
[package]
disabled = false
symbol = ''
style = 'fg:white bg:bright-black'
format = '[ $symbol( $version) ]($style)'
# Docker Context
[docker_context]
symbol = ''
style = 'fg:white bg:bright-black'
format = '[ $symbol( $context) ]($style)'
# Battery
[battery]
format = '[( $symbol$percentage)]($style)'
[[battery.display]]
threshold = 10
style = 'fg:red bg:black'
# Time
[time]
disabled = true
time_format = '%I:%M %p'
use_12hr = true
style = 'fg:white bg:black'
format = '[( $time)]($style)'
# Command Duration
[cmd_duration]
disabled = false
min_time = 0
style = 'fg:white bg:black'
format = '[( $duration)]($style)'