-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstarship.toml
More file actions
144 lines (110 loc) · 2.5 KB
/
Copy pathstarship.toml
File metadata and controls
144 lines (110 loc) · 2.5 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
# ~/.config/starship.toml
#--- Use custom format
format = '''
[┌──────>](bold green)
[│](bold green)$os$username$hostname$directory$git_branch$git_status$git_commit$fill$nodejs$cmd_duration$time$character
[└─>](bold green) '''
#--- Wait 10 milliseconds for starship to check files under the current directory.
scan_timeout = 10
#---- Disable the blank line at the start of the prompt
add_newline = false
#--- Set 'foo' as custom color palette
palette = 'foo'
#--- Define custom colors
[palettes.foo]
#--- Overwrite existing color
blue = '21'
#--- Define new color
mustard = '#af8700'
[fill]
symbol = " "
[nodejs]
format = "[$symbol($version )]($style)"
disabled = false
[cmd_duration]
format = "[$duration]($style)"
style = "yellow"
[memory_usage]
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)"
# Drop ugly default prompt characters
[character]
success_symbol = ''
error_symbol = ''
# ---
[os]
format = '[$symbol](bold white) '
disabled = false
[os.symbols]
Windows = ''
Arch = ''
Ubuntu = ''
Macos = ''
# ---
# Shows the username
[username]
style_user = 'white bold'
style_root = 'black bold'
format = '[$user]($style) '
disabled = false
show_always = true
# Shows the hostname
[hostname]
ssh_only = false
format = 'on [$hostname](bold yellow) '
disabled = false
# Shows current directory
[directory]
truncation_length = 1
truncation_symbol = '…/'
home_symbol = ' ~'
read_only_style = '197'
read_only = ' '
format = 'at [$path]($style)[$read_only]($read_only_style) '
# Shows current git branch
[git_branch]
symbol = ''
format = 'via [$symbol$branch]($style)'
# truncation_length = 4
truncation_symbol = '…/'
style = 'bold green'
# Shows current git status
[git_status]
format = '[$all_status$ahead_behind]($style) '
style = 'bold green'
conflicted = '🏳'
up_to_date = ''
untracked = ' '
ahead = '⇡${count}'
diverged = '⇕⇡${ahead_count}⇣${behind_count}'
behind = '⇣${count}'
stashed = ' '
modified = ' '
staged = '[++\($count\)](green)'
renamed = '襁 '
deleted = ' '
# git commit
[git_commit]
commit_hash_length = 4
tag_symbol = '🔖 '
# ---
[vagrant]
disabled = true
[docker_context]
disabled = true
[helm]
disabled = true
[python]
disabled = true
[ruby]
disabled = true
[terraform]
disabled = true