-
Notifications
You must be signed in to change notification settings - Fork 0
/
starship.toml
140 lines (101 loc) Β· 4.61 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# ----- LINE BREAK -------------------------------------------------------------
# Inserts a blank line between shell prompts
add_newline = true
# ----- END OF LINE BREAK ------------------------------------------------------
# ----- BATTERY ----------------------------------------------------------------
# Symbols
[battery]
full_symbol = "π "
charging_symbol = "β‘οΈ "
discharging_symbol = "π "
# Display discharing_symbol when capacity is between 0% and 10%
[[battery.display]]
threshold = 10
style = "bold red"
# Display discharing_symbol when capacity is between 10% and 30%
[[battery.display]]
threshold = 30
style = "bold yellow"
discharging_symbol = "π¦ "
# Do not display any symbol when battery is over 30%
# Display charging_symbol when battery is charging
# Display full_symbol when battery is full
# ----- END OF BATTERY ---------------------------------------------------------
# ----- CHARACTER --------------------------------------------------------------
# Replace the "β―" symbol in the prompt with
[character]
vicmd_symbol = "[ξ
](bold cyan) "
success_symbol = "[β](bold green) "
error_symbol = "[β](bold red) "
# ----- END OF CHARACTER -------------------------------------------------------
# ----- COMMAND DURATION -------------------------------------------------------
# Not showing how much time it took to complete the last command
[cmd_duration]
disabled = true
# ----- END OF COMMAND DURATION ------------------------------------------------
# ----- DIRECTORY --------------------------------------------------------------
[directory]
style = "yellow"
truncation_length = 8
truncation_symbol = "*/"
# ----- END OF DIRECTORY -------------------------------------------------------
# ----- GIT --------------------------------------------------------------------
[git_branch]
format = "[$symbol$branch ]($style)"
style = "bold purple"
symbol = "ο‘ "
[git_commit]
format = " [\\($hash\\)]($style)"
style = "green"
only_detached = true
[git_status]
format = '([$all_status$ahead_behind]($style) )'
style = "bold red"
conflicted = " ο± ${count}"
ahead = " β‘${count}"
behind = " β£${count}"
diverged = " β${count}"
untracked = " ?${count}"
stashed = " $${count}"
modified = " !${count}"
staged = '[ ++\($count\)](green)'
renamed = " Β»${count}"
deleted = " β${count}"
# ----- END OF GIT -------------------------------------------------------------
# ----- LUA --------------------------------------------------------------------
[lua]
format = "[π $version](bold blue) "
# ----- END OF LUA -------------------------------------------------------------
# ----- MEMORY -----------------------------------------------------------------
# Show memory usage (ram + swap) if more than 70% is being used
[memory_usage]
disabled = false
format = "[${ram}( ${swap})]($style) "
threshold = 70
style = "bold dimmed green"
# ----- END OF MEMORY ----------------------------------------------------------
# ----- NODEJS -----------------------------------------------------------------
[nodejs]
format = "[$symbol($version )]($style)"
symbol = "ο’ "
# ----- END OF NODEJS ----------------------------------------------------------
# ----- PYTHON -----------------------------------------------------------------
[python]
disabled = false
format = '[${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'
symbol = "ξΌ "
# ----- END OF PYTHON ----------------------------------------------------------
# ----- TIME -------------------------------------------------------------------
[time]
disabled = false
format = "[$time]($style) "
style = "dimmed yellow"
use_12hr = true
# ----- END OF TIME ------------------------------------------------------------
[username]
style_user = "white bold"
style_root = "black bold"
format = "[$user]($style) "
disabled = false
show_always = true
# ----- END OF TIME ------------------------------------------------------------