-
Notifications
You must be signed in to change notification settings - Fork 0
/
starship.toml
90 lines (71 loc) · 1.78 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
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
# Inserts a blank line between shell prompts
add_newline = false
format = """\
$character\
$jobs\
$git_commit\
$username\
$hostname\
$directory\
"""
right_format = """\
$nodejs\
$rust\
$git_status\
$git_state\
$git_branch\
$git_metrics \
$status\
$time\
$battery\
"""
command_timeout = 750
[status]
disabled = false
map_symbol = true
pipestatus = true
format = '[$symbol$status$pipestatus]($style) '
pipestatus_format = '\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style)'
[directory]
style = "bold blue"
[line_break]
disabled = true
[hostname]
format = '[$hostname](bold #b23737) '
[username]
format = "[$user]()@"
# 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'
format = " $symbol "
error_symbol = '[●](bold red)'
success_symbol = '[●](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
[nodejs]
disabled = false
format = '[$symbol($version )]($style)'
version_format = '${major}'
[git_branch]
format = '[$symbol$branch(:$remote_branch)]($style)'
[git_metrics]
disabled = false
[git_status]
format = '[$all_status$ahead_behind]($style)'
[time]
format = '[\[$time\]]()'
disabled = false
[rust]
format = '[$symbol($version)]($style) '
version_format = '${major}.${minor}'
disabled = false
[cmd_duration]
min_time = 500
format = 'underwent [$duration](bold yellow)'
disabled = false
show_notifications = true
[[battery.display]]
threshold = 70