-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstarship.toml
108 lines (95 loc) · 1.62 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
# starship config.toml
# Use custom format
format = """
[╭─ ](bold blue)$battery\
$username\
$hostname\
$shlvl\
$kubernetes\
$directory\
$git_branch\
$git_commit\
$git_state\
$git_status\
$hg_branch\
$docker_context\
$package\
$cmake\
$dart\
$dotnet\
$elixir\
$elm\
$erlang\
$golang\
$helm\
$java\
$julia\
$kotlin\
$nim\
$nodejs\
$ocaml\
$perl\
$php\
$purescript\
$python\
$ruby\
$rust\
$lua\
$scala\
$swift\
$terraform\
$vagrant\
$zig\
$nix_shell\
$conda\
$memory_usage\
$aws\
$openstack\
$env_var\
$crystal\
$custom\
$cmd_duration\
$line_break\
$jobs\
$time\
$status\
$shell\
$character """
# 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 = false
[[battery.display]] # "bold red" style and discharging_symbol when capacity is between 0% and 10%
threshold = 15
style = "bold red"
[username]
style_user = "green bold"
style_root = "red bold"
format = "(bold green)[$user]($style)"
disabled = false
show_always = true
[hostname]
ssh_only = false
format = "[@$hostname ](green bold)"
disabled = false
[directory]
read_only = " 🔒"
read_only_style = "fg:blue bold"
style = "blue bold"
format = "[$path ]($style)[$read_only]($read_only_style)"
[git_branch]
symbol = " "
always_show_remote = false
format = "[on $symbol$branch]($style) "
style = "purple bold"
truncation_length = 9223372036854775807
truncation_symbol = "…"
only_attached = false
disabled = false
[cmd_duration]
min_time = 20_000
[package]
disabled = true
[character]
success_symbol = "[╰▶](bold blue)"
error_symbol = "[╰](bold blue)[▶](bold red) "