-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstarship.toml
87 lines (74 loc) · 1.88 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
# based on starship tokyo night preset
# credit: https://starship.rs/presets/tokyo-night
format = """
[░▒▓](#a3aed2)\
[](bg:#769ff0 fg:#a3aed2)\
$directory\
[](fg:#769ff0 bg:#394260)\
$git_branch\
$git_status\
[](fg:#394260 bg:#212736)\
$nodejs\
$rust\
$golang\
$nix_shell\
[](fg:#212736 bg:#1d2230)\
${custom.cryptenv}\
[ ](fg:#1d2230)\
$fill\
[](fg:#1d2230)\
$time\
[█▓▒](#a3aed2)\
[](bg:#1A1B26 fg:#4D5267)\
\n$character"""
# 5s timeout mainly for fnm
command_timeout = 5000
[fill]
symbol = " "
[directory]
style = "fg:#e3e5e5 bg:#769ff0"
format = "[ $path ]($style)"
truncation_length = 5
[directory.substitutions]
"Documents" = " "
"Downloads" = " "
"Music" = " "
"Pictures" = " "
"Developer" = " "
[git_branch]
symbol = ""
style = "bg:#394260"
format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)'
[git_status]
style = "bg:#394260"
format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)'
[nodejs]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[rust]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[golang]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[nix_shell]
disabled = false
symbol = ""
format = '[[ $symbol ($name) ](fg:#769ff0 bg:#212736)]($style)'
[time]
disabled = false
# Hour:Minute::Second Format
time_format = "%X"
style = "bg:#1d2230"
format = '[[ $time ](fg:#a0a9cb bg:#1d2230)]($style)'
[custom.cryptenv]
command = "cryptenv project list $(cryptenv project name) | wc -l"
when = "cryptenv project name"
symbol = ""
format = '[[ $symbol $output ](fg:#a0a9cb bg:#1d2230)]($style)'
# if we use the default shell (fish) to run this command, fnm sometimes outputs
# "using node version ___\n" which messes up the prompt
shell = "sh"