-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstarship.toml
56 lines (45 loc) · 1.05 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
format = """
$all $fill ${status}${cmd_duration}${custom.proxy_enable}${custom.proxy_disable}\n$character
"""
#right_format = """
#"""
add_newline = true
follow_symlinks = true
[character]
success_symbol = "[❯](purple)"
error_symbol = "[❯](yellow)"
vimcmd_symbol = "[❮](cyan)"
[fill]
symbol = ""
style = "bold #9290C3"
[line_break]
disabled = true
[directory]
truncate_to_repo = false
[package]
disabled = true
[status]
disabled = false
symbol = " "
not_executable_symbol = " "
not_found_symbol = " "
sigint_symbol = " "
signal_symbol = " "
[custom.proxy_enable]
format = "[](#F6B17A) "
when = """
if [ -z "${ALL_PROXY}" ] && [ -z "${all_proxy}" ] && [ -z "${HTTP_PROXY}" ] && [ -z "${http_proxy}" ] && [ -z "${HTTPS_PROXY}" ] && [ -z "${https_proxy}" ]; then
false
else
true
fi
"""
[custom.proxy_disable]
format = "[](#7077A1) "
when = """
if [ -z "${ALL_PROXY}" ] && [ -z "${all_proxy}" ] && [ -z "${HTTP_PROXY}" ] && [ -z "${http_proxy}" ] && [ -z "${HTTPS_PROXY}" ] && [ -z "${https_proxy}" ]; then
true
else
false
fi
"""