-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstarship.bak.toml
More file actions
94 lines (80 loc) · 2.38 KB
/
Copy pathstarship.bak.toml
File metadata and controls
94 lines (80 loc) · 2.38 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# ~/.config/starship.toml
# Customizing the prompt format
format = """
[$user(bold blue)$username$hostname](bold yellow) $directory$rust$git_branch$git_status$package$golang$terraform$docker_context$python$docker_context$nodejs$container$battery$cmd_duration$character
[╰─>>](bold green)
"""
# Customizing the appearance of the username
[username]
style_user = "green bold"
style_root = "red bold"
format = "[$user]($style) "
disabled = false
show_always = true
# Customizing the appearance of the hostname
[hostname]
ssh_only = true
format = 'on [53ur!tyD3m0n](bold yellow) '
trim_at = "."
disabled = false
# Customizing the character symbol in the prompt
[character]
success_symbol = "[✔](bold green)"
error_symbol = "[✗](bold red)"
################################################################################
## GIT
################################################################################
[git_branch]
format = '\[[$symbol$branch]($style)\]'
symbol = ' '
style = "bold green"
[git_status]
conflicted = "⚔️ "
ahead = "💨${count} "
behind = "🐢${count} "
diverged = "🔱 💨${ahead_count} 🐢${behind_count} "
untracked = "🛤️ ${count} "
stashed = "📦 "
modified = "📝${count} "
staged = "🗃️ ${count} "
renamed = "📛${count} "
deleted = "🗑️ ${count} "
style = "bright-white"
format = '\[ $all_status$ahead_behind\]'
[git_commit]
commit_hash_length = 8
style = "bold white"
tag_symbol = '🔖 '
disabled = false
################################################################################
## Shell
################################################################################
[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 = '\[[⏱ $duration]($style)\]'
style = 'yellow'
[time]
time_format = "%T"
format = "🕙 $time($style) "
style = "bright-white"
disabled = true
[status]
format = '[$symbol$status]($style)'
error_symbol = "✖"
success_symbol = "✔"
style_success = "green"
style_failure = "red"
################################################################################
## System Information
################################################################################
[container]
format = '\[[$symbol$name]($style)\]'
symbol = "📦 "
style = "blue"