-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstarship.toml
68 lines (59 loc) · 1.47 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
format = """
[](green)\
$username$hostname\
[](bg:blue fg:green)\
$directory\
[](fg:blue bg:purple)\
$git_branch\
$git_commit\
$git_status\
[](fg:purple bg:yellow)\
$cmd_duration\
[](fg:yellow bg:red)\
$status\
[](fg:red)
>
"""
# Disable the blank line at the start of the prompt
add_newline = false
# You can also replace your username with a neat symbol like to save some space
[username]
show_always = true
style_user = "bg:green fg:black"
style_root = "bg:green fg:black"
format = '[ $user]($style)'
[hostname]
ssh_only = false
style = "bg:green fg:black"
format = "[@$hostname ]($style)"
[directory]
style = "bg:blue fg:black"
format = "[ $path ]($style)"
truncate_to_repo = false
truncation_length = 6
truncation_symbol = "…/"
[git_branch]
symbol = ""
style = "bg:purple fg:black"
format = '[ $symbol $branch ]($style)'
[git_commit]
format = "[ ](bg:purple fg:bright-white)[$hash ]($style)"
style = "bg:purple fg:black"
[git_status]
style = "bg:purple fg:black"
format = '[$conflicted$deleted$renamed$untracked$modified$staged$stashed]($style)'
conflicted = "\\[C:$count\\]"
deleted = "\\[D:$count\\]"
renamed = "\\[R:$count\\]"
untracked = "\\[U:$count\\]"
modified = "\\[M:$count\\]"
staged = "\\[S:$count\\]"
stashed = "[{S:$count}](fg:bright-white bg:purple)"
[cmd_duration]
show_milliseconds = true
format = "[ $duration]($style)"
style = "bg:yellow fg:black"
[status]
disabled = false
format = "[ $symbol $status]($style)"
style = "bg:red fg:black"