-
Notifications
You must be signed in to change notification settings - Fork 0
/
starship.toml
64 lines (48 loc) · 1.47 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
# Don't print a new line at the start of the prompt
add_newline = false
# Replace the "❯" symbol in the prompt with "➜"
[character] # The name of the module we are configuring is "character"
success_symbol = "[➜](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green"
# Disable the package module, hiding it from the prompt completely
[package]
disabled = true
[aws]
disabled = true
[python]
disabled = true
[golang]
disabled = true
[java]
disabled = true
[ruby]
disabled = true
[git_status]
ahead = "⇡${count}"
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
behind = "⇣${count}"
[time]
disabled = false
format = "[$time]($style) "
style = "yellow"
[gcloud]
disabled = true
[docker_context]
disabled = true
[nodejs]
disabled = true
[kubernetes]
format = '[⛵ $context \($namespace\)]($style) '
disabled = false
style = "bold blue"
[[kubernetes.contexts]]
context_pattern = 'gke_(?P<var_project>.*?production.*?)_(?P<var_region>[\w-]+)_(?P<var_cluster>[\w-]+)'
context_alias = "gke-$var_project"
style = "bold red bg:yellow"
[[kubernetes.contexts]]
context_pattern = 'gke_(?P<var_project>[\w-]+)_(?P<var_region>[\w-]+)_(?P<var_cluster>[\w-]+disaster)'
context_alias = "gke-$var_project:$var_cluster"
style = "bold red bg:white"
[[kubernetes.contexts]]
context_pattern = 'gke_(?P<var_project>[\w-]+)_(?P<var_region>[\w-]+)_(?P<var_cluster>[\w-]+)'
context_alias = "gke-$var_project"
style = "dimmed green"