-
Notifications
You must be signed in to change notification settings - Fork 1
/
starship.toml
164 lines (135 loc) · 2.45 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
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
# Don't print a new line at the start of the prompt
add_newline = false
command_timeout = 1000
format = """[❯](red)[❯](yellow)[❯](green) $hostname$directory"""
right_format = """
$git_branch\
$git_state\
$git_status\
$git_commit\
$hg_branch\
$package\
$cmake\
$dart\
$deno\
$dotnet\
$elixir\
$elm\
$erlang\
$golang\
$helm\
$java\
$julia\
$kotlin\
$nim\
$nodejs\
$ocaml\
$perl\
$php\
$purescript\
$python\
$ruby\
$rust\
$red\
$scala\
$swift\
$terraform\
$vlang\
$vagrant\
$nix_shell\
$zig\
$lua\
$crystal\
$custom\
$battery\
$cmd_duration\
$jobs\
$status\
"""
[hostname]
disabled = false
format = "on [$hostname](bold) "
ssh_only = true
trim_at = "."
[cmd_duration]
min_time = 1000
format = "took [$duration](bold yellow) "
[directory]
truncation_length = 50
truncate_to_repo = false
truncation_symbol = "…/"
style = "blue"
format = "[$path]($style)[$read_only]($read_only_style) "
[git_branch]
style = "bold yellow"
symbol = " "
format = "[$symbol$branch]($style) "
[git_commit]
style = "normal"
only_detached = true
tag_disabled = false
tag_symbol = " 🔖"
format = "\\[[$hash](bold green)[$tag](bold red)\\] "
[git_status]
style = "normal"
conflicted = "[ ](bold red)"
ahead = "[↑×${count}](bold green)"
diverged = "[↑×${ahead_count}](bold green) [↓×${behind_count}](bold red)"
behind = "↓×${count}(bold red)"
stashed = "[⊙](bold purple)"
staged = "[](bold blue)"
untracked = "[](normal)"
deleted = "[](bold red)"
modified = "[](#FF7F00)"
[line_break]
disabled = true
[package]
format = "is [$symbol$version]($style) "
[status]
disabled = false
map_symbol = false
format = "errno [$status]($style)"
[rust]
style = "bold blue"
detect_files = ["!Config"]
[java]
style = "bold blue"
[python]
style = "bold blue"
[kotlin]
style = "bold blue"
[ruby]
style = "bold blue"
[golang]
style = "bold blue"
[lua]
style = "bold blue"
[php]
style = "bold blue"
[perl]
style = "bold blue"
[nim]
style = "bold blue"
[nodejs]
style = "bold blue"
[ocaml]
style = "bold blue"
[scala]
style = "bold blue"
[zig]
style = "bold blue"
[crystal]
style = "bold blue"
[elixir]
style = "bold blue"
[deno]
style = "bold blue"
[custom.path_type]
description = "Brazil path type"
when = "true"
command = "starship-brazil-context path-type 'BR|' 'PE|' '📂' '📦'"
shell = ["bash", "--noprofile", "--norc"]
style = "bold fg:yellow"
format = "[($output )]($style)"