-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathconfig.toml
65 lines (55 loc) · 1.08 KB
/
config.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
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
# ship configuration
# ---
# see https://starship.rs/config/
add_newline = false
format = """
$python\
$username\
$hostname\
$localip\
$shlvl\
$directory\
$git_branch\
$git_commit\
$git_state\
$git_metrics\
$memory_usage\
$env_var\
$custom\
$sudo\
$cmd_duration\
$jobs\
$battery\
$time\
$status\
$os\
$container\
$git_status\
$shell\
$character"""
[character]
success_symbol = '[λ](green):'
error_symbol = '[x](red)'
[directory]
format = '[$path/]($style)[$read_only]($read_only_style)'
style = 'blue'
truncation_length = 4
[git_branch]
format = '([$symbol](fg:8)[$branch]($style)([:$remote_branch](fg:243)) )'
symbol = ''
style = 'green'
[git_status]
format = '([$all_status$ahead_behind]($style) )'
[hostname]
ssh_only = true
# [cmd_duration]
# format = ' took [$duration]($style)' # add leading space
[python]
format = '([${version}](fg:242)[/](fg:246))'
pyenv_version_name = true
[custom.yazi]
when = ''' test -n "$YAZI_LEVEL" '''
format = '\[[Yazi]($style)\] '
style = 'green'