-
Notifications
You must be signed in to change notification settings - Fork 0
/
starship.toml
executable file
·166 lines (149 loc) · 2.58 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
# Sets the format for the modules.
format = """
[╭╴](238)\
$username\
$hostname\
$shlvl\
$singularity\
$kubernetes\
$directory\
$vcsh\
$git_branch\
$git_commit\
$git_state\
$git_metrics\
$git_status\
$hg_branch\
$docker_context\
$package\
$cmake\
$cobol\
$dart\
$deno\
$dotnet\
$elixir\
$elm\
$erlang\
$golang\
$helm\
$java\
$julia\
$kotlin\
$lua\
$nim\
$nodejs\
$ocaml\
$perl\
$php\
$purescript\
$python\
$rlang\
$red\
$ruby\
$rust\
$scala\
$swift\
$terraform\
$vlang\
$vagrant\
$zig\
$nix_shell\
$conda\
$memory_usage\
$aws\
$gcloud\
$openstack\
$env_var\
$crystal\
$custom\
$cmd_duration\
$battery\
$time\
$line_break\
$jobs\
$status\
$shell\
[╰─](238) $localip $character"""
# Wrong command or error occured symbol
[character]
error_symbol = "[✗](bold red)"
# old config
# success_symbol = "[](238)"
# error_symbol = "[](238)"
success_symbol = "ツ"
# Battery symbols
[battery]
full_symbol = "生 "
charging_symbol = "旅人 "
discharging_symbol = "死"
# Style for 0-15% battery capacity.
[[battery.display]]
threshold = 15
style = "bold red"
# Style for 10-30% battery capacity.
[[battery.display]]
threshold = 30
style = "#ff6f00"
[[battery.display]]
threshold = 60
style = "bold yellow"
# Style for 30-100% battery capacity.
[[battery.display]]
threshold = 100
style = "bold dimmed green"
# Username style & format.
[username]
style_user = "bold yelllow"
format = "[$user]($style) "
show_always = true
# Will truncate the directory if current folder is a git repo.
[directory]
truncation_length = 2
truncation_symbol = "…/"
home_symbol = " ~"
read_only_style = "197"
read_only = " "
format = "『[$path]($style)[$read_only]($read_only_style)』"
# Show the time.
[time]
disabled = false
format = '[\[$time\]]($style) '
time_format = "%I:%M %P"
style = "bold purple"
[git_status]
format = '[\($all_status$ahead_behind\)]($style) '
style = "bold green"
conflicted = "🏳"
up_to_date = " "
untracked = " "
ahead = "⇡${count}"
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
behind = "⇣${count}"
stashed = " "
modified = " "
staged = '[++\($count\)](green)'
renamed = "襁 "
deleted = " "
[localip]
ssh_only = false
format = "[$localipv4]($style)"
disabled = false
style = "bold purple"
[git_branch]
symbol = " "
format = "[$symbol$branch]($style) "
# truncation_length = 4
truncation_symbol = "…/"
style = "bold green"
[python]
#symbol = " "
python_binary = "python3"
disabled = false
style = "bold purple"
[hostname]
ssh_only = true
ssh_symbol = "🌐 "
trim_at = "."
format = "[$ssh_symbol$hostname]($style) in "
style = "bold dimmed green"
disabled = false