-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaudai.starship.toml
195 lines (156 loc) · 3.76 KB
/
laudai.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
# ~/.config/starship.toml
# combine from:
# https://gist.github.com/ryo-ARAKI/48a11585299f9032fa4bda60c9bba593
# https://github.com/addy3494/startship_config/blob/main/starship.toml
# https://mvolkmann.github.io/blog/starship/?v=1.0.18
# Prompt
# Configure the format of the prompt.
format = "[☁ ](cyan)$all"
# Wait 10 milliseconds for starship to check files under the current directory.
scan_timeout = 10
# Disable the blank line at the start of the prompt
add_newline = true
# Timeout for commands executed by starship (in milliseconds).
command_timeout = 300
# First param
[username]
format = "[$user]($style)[|](bold)"
style_user = "purple"
style_root = "red"
disabled = false
show_always = false
# Second param
[hostname]
format = "[$hostname]($style) ⇶ "
ssh_only = false
trim_at = "-"
style = "green"
disabled = false
# Third param
[directory]
style = "cyan"
truncation_length = 2
truncate_to_repo = false
truncation_symbol = "repo: "
read_only = ""
read_only_style = "red"
# git
[git_state]
format = '[\($state( $progress_current of $progress_total)\)]($style) '
[git_status]
format = "$all_status$ahead_behind"
style = "bright-white"
ahead = "⇡ ×${count} "
behind = "⇣ ×${count} "
diverged = "⇕⇡ ×${ahead_count}⇣ ×${behind_count} "
deleted = "✘ ×${count} "
conflicted = "⚔ "
untracked = "ண ×${count} "
stashed = " "
modified = "⌨ ×${count} "
staged = "✤ ×${count} "
renamed = "➼ ×${count} "
[git_branch]
format = "[$symbol$branch]($style) "
symbol = " "
style = "yellow"
[git_commit]
commit_hash_length = 8
style = "bold white"
# battery
[battery]
format = "[$symbol$percentage]($style) "
full_symbol = ""
charging_symbol = ""
discharging_symbol = ""
unknown_symbol = ""
empty_symbol = ""
[[battery.display]] # "underline bold italic red" style when capacity is between 0% and 15%
threshold = 15
style = "underline bold italic red"
[[battery.display]] # "underline italic yellow" style when capacity is between 15% and 50%
threshold = 50
style = "underline italic yellow"
[[battery.display]] # "green" style when capacity is between 10% and 30%
threshold = 80
style = "green"
[time]
format = "$time($style) "
style = "bright-white"
time_format = "%T"
disabled = true
[line_break]
disabled = true
[memory_usage]
format = "$symbol[${ram}( | ${swap})]($style) "
threshold = 85
style = "bold dimmed white"
symbol = "☢ "
disabled = false
[cmd_duration]
min_time = 10_000 # Show command duration over 10,000 milliseconds (=10 sec)
format = "took [$duration]($style) "
style = "bold bright-white"
[status]
symbol = "🔴"
format = '[$symbol$status_common_meaning$status_signal_name$status_maybe_int]($style)'
not_found_symbol="?"
map_symbol = true
disabled = false
[character]
success_symbol = "[↪](bold green)"
error_symbol = "[✗](bold red) "
vicmd_symbol = "[↩](bold green)"
# Indicates when in bash shell.
[custom.bash]
command = "echo 🌠"
when = '[ "$STARSHIP_SHELL" == "bash" ]'
# SYMBOLS
[aws]
symbol = " "
[conda]
symbol = " "
[dart]
symbol = " "
[docker_context]
symbol = " "
[elixir]
symbol = " "
[elm]
symbol = " "
[golang]
symbol = " "
[hg_branch]
symbol = " "
[java]
symbol = " "
[julia]
symbol = " "
format = "[$symbol$version]($style) "
style = "bold green"
[nim]
symbol = " "
[nix_shell]
symbol = " "
[nodejs]
symbol = " "
[package]
symbol = " "
[perl]
symbol = " "
[php]
symbol = " "
[python]
symbol = " "
format = "[$symbol$version]($style) "
style = "bright-green"
detect_extensions = []
detect_files = [".python-version", "Pipfile", "__init__.py", "pyproject.toml", "requirements.txt", "setup.py", "tox.ini"]
python_binary = ["python3","python","python2"]
[ruby]
symbol = " "
[rust]
symbol = " "
format = "[$symbol$version]($style) "
[swift]
symbol = "ﯣ "