-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstarship.toml
More file actions
70 lines (56 loc) · 2.14 KB
/
starship.toml
File metadata and controls
70 lines (56 loc) · 2.14 KB
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
"$schema" = "https://starship.rs/config-schema.json"
add_newline = true
command_timeout = 1000
format = """\
${custom.shell}\
${directory}\
${git_branch}${git_status}\
${line_break}\
${character}"""
right_format = """${nodejs}${time}"""
# ── Left side ───────────────────────────────────────────────────────────────
# Shell name (blue diamond like your first segment)
[custom.shell]
command = """echo ${SHELL##*/}"""
when = true
format = "[ ╭─](fg:#0077c2)[ $output ](fg:#ffffff bg:#0077c2)[ ](fg:#0077c2)"
# Directory (gray powerline)
[directory]
style = "fg:#E4E4E4 bg:#444444"
format = "[ $path ](fg:#E4E4E4 bg:#444444)[ ](fg:#444444)"
truncation_len = 0
truncate_to_repo = false
use_logical_path = false
# Git
[git_branch]
format = "[ ](fg:#FFFB38)[ $branch ](fg:#011627 bg:#FFFB38)"
style = "fg:#011627 bg:#FFFB38"
[git_status]
format = "[$all_status$ahead_behind ](fg:#011627 bg:#FFFB38)"
style = "fg:#011627 bg:#FFFB38"
ahead = "↑$count"
behind = "↓$count"
diverged = "↑$ahead_count↓$behind_count"
modified = "!"
staged = "+"
untracked = "?"
deleted = "✘"
renamed = "»"
# ── Right side ──────────────────────────────────────────────────────────────
# Node.js (green on dark)
[nodejs]
format = "[ ](fg:#303030)[ $version ](fg:#3C873A bg:#303030)[ ](fg:#303030)"
detect_files = ["package.json"]
# Time (cyan diamond)
[time]
disabled = false
format = "[ ](fg:#40c4ff)[ $time ](fg:#ffffff bg:#40c4ff)[ ](fg:#40c4ff)"
time_format = "%H:%M:%S"
# ── Bottom line ─────────────────────────────────────────────────────────────
[character]
success_symbol = "[╰─❯ ](fg:#e0f8ff)"
error_symbol = "[╰─❯ ](fg:#ef5350)"
# Python module (nice to have in a Python container)
[python]
format = "[ $version ](fg:#3776AB bg:#444444)[ ](fg:#444444)"
style = "fg:#3776AB bg:#444444"