-
Notifications
You must be signed in to change notification settings - Fork 0
/
starship.toml
74 lines (60 loc) · 1.31 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
# Global format
format = """${custom.history}${all}${line_break}\
${time}${jobs}${status}${shell}${character}"""
# Inserts a blank line between shell prompts
add_newline = true
# Decrease execution timeout to avoid waiting for git status
command_timeout = 300
# Command history number
[custom.history]
description = "Show current command number in history"
command = "echo '\\!\\033[7G'" # print number and move cursor to column 7
unsafe_no_escape = true
when = "true"
symbol = "╷ "
style = "bold black"
format = "[$output]($style)[$symbol]($style)"
# User location
[hostname]
format = "[$hostname]($style):"
# Git
[git_branch]
symbol = "⌥ "
[git_status]
ignore_submodules = true
format = '[$all_status$ahead_behind ]($style)'
style = "bold yellow"
ahead = "▲"
behind = "▼"
diverged = "◆"
untracked = "◯"
modified = "⨀"
renamed = "◎"
staged = "●"
deleted = "◌"
stashed = "*"
# Languages
[python]
style = "bold green"
[rlang]
detect_files = []
symbol = "ℝ "
[ruby]
symbol = "⬘ "
# Input line
[time]
disabled = false
time_format = "%H:%M"
style = "black"
format = "[$time]($style)[ ╰╴](bold black)"
[jobs]
symbol = "⚙"
number_threshold = 1
[character]
success_symbol = "[❯](bold white)"
error_symbol = "[✖](bold red)"
# Disabled modules
[battery]
disabled = true
[cmd_duration]
disabled = true