summaryrefslogtreecommitdiff
path: root/dot-config/starship.toml
blob: 11bc16fadd79d2afa7ede8c6db22508cf84dfce1 (plain)
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
# Don't print a new line at the start of the prompt
add_newline = false
# Pipes ╰─ ╭─
# Powerline symbols                                     
# Wedges 🭧🭒 🭣🭧🭓
# Random noise 🬖🬥🬔🬗

# format = """
# $cmd_duration$username$hostname $directory $git_branch
# $character
# """
format = """
╭─$os[](fg:white bg:black)$username[@](fg:yellow bg:black)$hostname[](fg:black) $directory$git_branch$git_state$git_status$fill$all─╮$line_break╰─$character
"""

right_format = """─╯"""

# Replace the "❯" symbol in the prompt with "➜"
[character]                            # The name of the module we are configuring is "character"
success_symbol = "[\\$](bold fg:green)"
error_symbol = "[\\$](bold fg:red)"

[os]
disabled = false
format = "[]($style)[ $symbol ](bold bg:white fg:black)"

[os.symbols]
Arch = ""

# Disable the package module, hiding it from the prompt completely
[package]
disabled = true

[git_branch]
symbol = "󰘬 "
truncation_length = 12
truncation_symbol = ""

[git_commit]
commit_hash_length = 4
tag_symbol = " "

[git_state]
format = '[\($state( $progress_current of $progress_total)\)]($style) '
cherry_pick = "[🍒 PICKING](bold red)"

[git_status]
conflicted = " 🏳 "
ahead = " 🏎💨 "
behind = " 😰 "
diverged = " 😵 "
untracked = " 🤷 ‍"
stashed = " 📦 "
modified = " 📝 "
staged = '[++\($count\)](green)'
renamed = " ✍️ "
deleted = " 🗑 "

[hostname]
ssh_only = false
disabled = false
style = "bg:black fg:yellow"
format = "[$hostname]($style)"

[line_break]
disabled = false

[memory_usage]
disabled = true
threshold = -1
symbol = " "
style = "bold dimmed green"

[time]
disabled = true
format = '🕙[\[ $time \]]($style) '
time_format = "%T"

[username]
disabled = false
show_always = true
style_user = "bold bg:black fg:yellow"
style_root = "bold bg:black fg:red"
format = '[$user]($style)'

[directory]
home_symbol = " "
read_only = "  "
truncation_length = 0
truncate_to_repo = false
# style = "bold fg:cyan bg:white"

# truncation_symbol = "••/"
[directory.substitutions]
"Desktop" = "  "
"Documents" = "  "
"Downloads" = " 󰉍 "
"Music" = " 󰎈 "
"Pictures" = " 󰉏 "
"Videos" = "  "

[cmd_duration]
min_time = 0
format = '[](bold fg:yellow)[ $duration](bold bg:yellow fg:black)[](bold fg:yellow)'