-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstarship.toml
93 lines (77 loc) · 1.43 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
format = """
$username\
$hostname\
$directory\
$git_branch\
$git_state\
$git_status\
$git_metrics\
$battery\
$fill\
$nodejs\
$docker_context\
$package\
$c\
$cmake\
$golang\
$java\
$lua\
$python\
$rust\
$conda\
$meson\
$sudo\
$cmd_duration\
$line_break\
$character"""
[nodejs]
format = "[$symbol($version )]($style)"
[battery]
full_symbol = ' '
charging_symbol = ' '
discharging_symbol = ' '
[[battery.display]]
threshold = 100
style = "bold green"
[directory]
style = "blue"
read_only = " "
truncation_length = 4
truncate_to_repo = false
[character]
success_symbol = "[❯](purple)"
error_symbol = "[❯](red)"
vicmd_symbol = "[❮](green)"
[git_branch]
symbol = " "
format = "[$symbol$branch]($style) "
style = "bright-cyan"
[jobs]
symbol = ""
style = "bold red"
number_threshold = 1
format = "[$symbol]($style)"
[git_status]
format = '([\[$all_status$ahead_behind\]]($style) )'
style = "cyan"
[git_state]
format = '\([$state( $progress_current/$progress_total)]($style)\) '
style = "bright-black"
[git_metrics]
disabled = false
[cmd_duration]
format = "[$duration]($style)"
style = "yellow"
[memory_usage]
symbol = " "
[rust]
symbol = " "
[time]
disabled = false
style = "bold white"
format = "[$time]($style)"
[custom.stunnel]
when = "ps aux | grep stunnel | grep -v grep"
command = "ps -o etime= -p $(ps aux | grep stunnel | grep -v grep | awk '{print $2}')"
style = "red"
format = "[TUNNEL OPEN for $output]($style)"