-
Notifications
You must be signed in to change notification settings - Fork 1
/
starship.toml
73 lines (58 loc) · 1.33 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
#####################################
# STARSHIP CONFIG
# 1. Install starship: https://github.com/himynameisdave/macos-setup#starship
# 2. Put this file in ~/.config/
#####################################
# Don't print a new line at the start of the prompt
add_newline = false
format = """\
$nodejs\
$username\
$hostname\
$directory\
$git_branch\
$git_commit\
$git_state\
$cmd_duration\
$line_break\
$jobs\
$battery\
$time\
$character\
"""
# 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 = true
[cmd_duration]
disabled = true
[aws]
disabled = true
[gcloud]
disabled = true
[username]
disabled = true
[hostname]
disabled = true
[golang]
disabled = true
[python]
disabled = true
[time]
disabled = true
[battery]
full_symbol = "🔋"
charging_symbol = "⚡️"
discharging_symbol = "💀"
disabled = false
[[battery.display]]
threshold = 25
style = "bold red"
[nodejs]
style = "bold yellow"
format = "[$symbol$version]($style) "
[git_branch]
style = "bold green"
format = "on [$symbol$branch]($style) "