-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstarship.toml
81 lines (68 loc) · 1.28 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
add_newline = true
format = """\
$username\
$hostname\
$time\
$git_branch\
$git_commit\
$git_state\
$git_status\
$hg_branch\
$package\
$golang\
$nodejs\
$python\
$ruby\
$rust\
$conda\
$memory_usage\
$cmd_duration\
$custom\
$line_break\
$directory\
$jobs\
$battery\
$character\
"""
[directory]
truncate_to_repo = false
truncation_length = 8
[time]
disabled = false
format = "[$time]($style) "
[git_status]
untracked = '[N$count](green)'
stashed = '[\$$count](yellow)'
modified = '[~$count](blue)'
staged = '+$count'
renamed = '»$count'
deleted = '[X$count](red)'
#show_sync_count = true
ahead = "⇡${count}"
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
behind = "⇣${count}"
format = '([⟪$all_status$ahead_behind⟫]($style) )'
style = "bold purple"
[golang]
disabled = true
symbol = "🐹"
[character]
success_symbol = "[➜](bold green)"
error_symbol = "[➜](bold red)"
[custom.remote_conn]
description = "show when some remote connexions are present"
command = "who | grep -vc ':1'"
when = "who | grep -vc ':1' | xargs -I{} -- test {} -gt 0"
symbol = "🌐"
format = '\[[$symbol$output]($style)\]'
style = "red"
[package]
symbol = "📦"
[rust]
symbol = "🦀"
[nodejs]
symbol = "⬢"
[python]
symbol = "🐍"
[ruby]
symbol = "💎"