-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstarship.toml
120 lines (97 loc) · 2.54 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
format = """
$username\
$hostname\
$directory\
$git_branch\
$git_commit\
$git_status\
$git_state\
$character\
"""
# format = "$username$hostname: $directory$character"
# 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
# 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 = false
[battery]
full_symbol = "🔋"
charging_symbol = "🔌"
discharging_symbol = "⚡"
[[battery.display]]
threshold = 30
style = "bold red"
[cmd_duration]
min_time = 10_000 # Show command duration over 10,000 milliseconds (=10 sec)
format = " took [$duration]($style)"
[directory]
truncation_length = 5
format = "[$path]($style)[$lock_symbol]($lock_style) "
[git_branch]
format = "[$symbol$branch]($style) "
# symbol = "branch "
# style = "bold yellow"
[git_commit]
commit_hash_length = 8
style = "bold white"
[git_state]
format = '[\($state( $progress_current of $progress_total)\)]($style) '
[git_status]
conflicted = "conflicted "
ahead = "ahead:${count} "
behind = "behind:${count} "
diverged = "diverged: ahead:${ahead_count} behind:${behind_count} "
untracked = "untracked:${count} "
stashed = "stashed "
modified = "modified:${count} "
staged = "staged:${count} "
renamed = "renamed:${count} "
deleted = "deleted:${count} "
style = "bold blue"
format = "[$all_status$ahead_behind]($style)"
[julia]
format = "[$symbol$version]($style) "
symbol = " "
style = "bold green"
[memory_usage]
format = "$symbol[${ram}( | ${swap})]($style) "
threshold = 70
style = "bold dimmed white"
disabled = false
[python]
format = "[$symbol$version]($style) "
symbol = " "
style = "bold blue"
[c]
format = "[$symbol$version]($style) "
symbol = " "
style = "bold green"
[rust]
format = "[$symbol$version]($style) "
symbol = " "
style = "bold green"
# [time]
# time_format = "%T"
# format = "🕙 $time($style) "
# style = "bright-white"
# disabled = false
[username]
# style_user = "bold dimmed blue"
show_always = true
format = "[$user@]($style)"
[hostname]
ssh_only = false
format = "[$hostname]($style):"
# trim_at = "-"
style = "bold yellow"
disabled = false
[character]
success_symbol = "[$](bold green)"
error_symbol = "[$](bold red)"
[nodejs]
format = "via [🤖 $version](bold green) "