-
Notifications
You must be signed in to change notification settings - Fork 0
/
starship.toml
80 lines (64 loc) · 1.97 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
add_newline = true
format = "[ ](fg:#282a36 bg:#ffb86c)$singularity(fg:#282a36 bg:#ffb86c)$username[ ](fg:#ffb86c bg:#ff79c6)$hostname[](fg:#ff79c6 bg:#50fa7b)$directory[](fg:#50fa7b bg:#6e9bcb)$nix_shell[](fg:#6e9bcb bg:#f1fa8c)${custom.microconda}[](fg:#f1fa8c bg:#ff79c6)${custom.direnv}[](fg:#ff79c6 bg:#282a36ff)$git_branch$git_status$fill$time\n$character"
[character]
error_symbol = "[❯](bold #ff5555)"
success_symbol = "[❯](bold #50fa7b)"
[custom]
command_timeout = 5000 # Czas w milisekundach
ignore_timeout = false # Czy ignorować timeout, można ustawić na `true`
[custom.direnv]
format = "[ ]($style)"
style = "fg:#282a36 bg:#ff79c6"
when = "env | grep -E '^DIRENV_FILE='"
[custom.microconda]
format = "[ $symbol ]($style)"
style = "fg:#282a36 bg:#f1fa8c"
symbol = ""
when = "test -n \"$CONDA_PREFIX\""
[directory]
format = "[ $path ]($style)"
style = "bold fg:#282a36 bg:#50fa7b"
truncate_to_repo = false
truncation_length = 6
truncation_symbol = ".../"
[fill]
style = "bold #50fa7b"
symbol = " "
[git_branch]
format = "[ $symbol$branch ]($style)"
style = "bold fg:#ff79c6"
[git_status]
ahead = "$count⇡ "
behind = "$count⇣ "
conflicted = "$count= "
deleted = "$count✘ "
format = "[$conflicted$ahead$behind$untracked$modified$staged$renamed$deleted]($style)"
modified = "$count! "
renamed = "$count» "
staged = "$count+ "
stashed = "$count$ "
style = "bold fg:#ff79c6"
untracked = "$count? "
[conda]
format = '[$symbol$environment](dimmed green) '
[container]
format = '[$symbol \[$name\]]($style) '
[hostname]
format = "[$hostname ]($style)"
ssh_only = false
style = "bold fg:#282a36 bg:#ff79c6"
[nix_shell]
format = "[ ]($style)"
style = "fg:#282a36 bg:#6e9bcb"
[time]
disabled = false
format = "[ $time ]($style)"
style = "bold fg:#ffb86c"
time_format = "%X"
[username]
format = "[$user ]($style)"
show_always = true
style_user = "bold fg:#282a36 bg:#ffb86c"
[singularity]
format = '[📦 ]($style)'
style = "bold fg:#282a36 bg:#ffb86c"