-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstarship.toml
More file actions
190 lines (163 loc) · 3.76 KB
/
starship.toml
File metadata and controls
190 lines (163 loc) · 3.76 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
# starship.toml - Starship Prompt Configuration
# ------------------------------------------------------------
# 此文件用于自定义 Starship 提示符的外观和行为。"$schema" = 'https://starship.rs/config-schema.json'
# $username\ ☕️
format = """\
($directory)\
$os\
$git_branch\
$git_status\
🍀\
$fill\
$cmd_duration\
$c\
$bun\
$nodejs\
$rust\
$golang\
$php\
$java\
$kotlin\
$python\
$conda\
$docker_context\
$zig\
$time\
$battery\
$line_break$character\
"""
add_newline = true
command_timeout = 3600000
palette = "catppuccin_mocha"
[palettes.catppuccin_mocha]
rosewater = "#f5e0dc"
flamingo = "#f2cdcd"
pink = "#f5c2e7"
mauve = "#cba6f7"
red = "#f38ba8"
maroon = "#eba0ac"
peach = "#fab387"
yellow = "#f9e2af"
green = "#a6e3a1"
teal = "#94e2d5"
sky = "#89dceb"
sapphire = "#74c7ec"
blue = "#89b4fa"
lavender = "#b4befe"
text = "#cdd6f4"
subtext1 = "#bac2de"
subtext0 = "#a6adc8"
overlay2 = "#9399b2"
overlay1 = "#7f849c"
overlay0 = "#6c7086"
surface2 = "#585b70"
surface1 = "#45475a"
surface0 = "#313244"
base = "#1e1e2e"
mantle = "#181825"
crust = "#11111b"
[line_break]
disabled = false
[fill]
symbol = ' '
[character]
disabled = false
success_symbol = "[ ](fg:green)"
error_symbol = "[ ](fg:red)"
vimcmd_symbol = "[ ](bold red)"
vimcmd_replace_one_symbol = "[R](bold peach)"
vimcmd_visual_symbol = "[V](bold mauve)"
[username]
disabled = false
show_always = false
style_user = 'bold blue'
style_root = 'bold red'
format = '[ $user](fg:$style) '
[directory]
format = "[$path](bold $style)[$read_only]($read_only_style) "
truncation_length = 5
style = "fg:blue"
read_only_style = "fg:blue"
before_repo_root_style = "fg:blue"
truncation_symbol = "…/"
truncate_to_repo = true
read_only = " "
[directory.substitutions]
"Documents" = " "
"Downloads" = " "
"Music" = " "
"Pictures" = " "
"Developer" = " "
[cmd_duration]
format = " [t.$duration]($style) "
style = "fg:surface1"
min_time = 500
[git_branch]
symbol = ""
format = " 🌱 [$symbol $branch]($style) "
style = "bold fg:mauve"
[git_status]
format = '[($all_status$ahead_behind )]($style)'
style = "fg:text"
[python]
disabled = false
symbol = ""
format = "[ $symbol$pyenv_prefix($version)( $virtualenv)](fg:peach)"
version_format = "$raw"
[java]
disabled = false
symbol = ""
format = '[[ $symbol ($version) ](fg:red)]($style)'
version_format = "$raw"
[kotlin]
symbol = ""
style = "bg:color_blue"
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)'
[c]
disabled = false
symbol = " "
format = '[[ $symbol ($version) ](fg:blue)]($style)'
version_format = "$raw"
[zig]
disabled = false
format = '[[ $symbol ($version) ](fg:peach)]($style)'
version_format = "$raw"
[bun]
disabled = false
version_format = "$raw"
format = '[[ $symbol ($version) ](fg:text)]($style)'
[nodejs]
symbol = ""
format = '[[ $symbol ($version) ](fg:green)]($style)'
[rust]
symbol = ""
format = '[[ $symbol ($version) ](fg:red)]($style)'
[golang]
symbol = ""
format = '[[ $symbol ($version) ](fg:teal)]($style)'
[php]
symbol = ""
format = '[[ $symbol ($version) ](fg:peach)]($style)'
[conda]
style = "bg:color_bg3"
format = '[[ $symbol( $environment) ](fg:#83a598 bg:color_bg3)]($style)'
[docker_context]
disabled = true
[time]
disabled = false
time_format = "%R"
format = '[[ $time ](fg:subtext0)]($style)'
[battery]
disabled = false
full_symbol = " "
charging_symbol = " "
discharging_symbol = " "
unknown_symbol = " "
empty_symbol = " "
format = "[$symbol$percentage]($style) "
[[battery.display]] # 'bold red' style and discharging_symbol when capacity is between 0% and 10%
threshold = 10
style = 'bold red'
[[battery.display]] # 'bold yellow' style and discharging_symbol when capacity is between 10% and 30%
threshold = 30
style = 'bold yellow'