-
Notifications
You must be signed in to change notification settings - Fork 20
/
starship.toml
88 lines (71 loc) · 1.78 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
add_newline = true
command_timeout = 2000
format = """
┌─ $status$time ── ${custom.directory}──┐
│ ${custom.username}$git_branch$git_status$git_state$ruby$python${custom.python_env}$nodejs$terraform$golang$rust
└─ $hostname$shell ── """
[status]
disabled = false
[time]
disabled = false
format = "[$time]($style)"
style = "bold cyan"
time_format = "%R %a, %b %e"
[shell]
disabled = false
format = "[$indicator]($style)"
bash_indicator = "\\$"
zsh_indicator = "%"
[directory]
truncation_length = 0
truncate_to_repo = false
[custom.directory]
when = "true"
format = "[$output]($style) "
command = "pwd"
style = "bold cyan"
[hostname]
ssh_only = false
style = 'bold green'
format = "[$hostname]($style)"
[custom.username]
when = "test $USER != 'clayton'"
format = "[\\(u:$output\\)]($style) "
command = "echo $USER"
style = "bold red"
[git_branch]
format = "[$symbol$branch]($style) "
[git_status]
format = '([\($all_status$ahead_behind\)]($style) )'
style = ""
up_to_date = "✔"
ahead = "↑${count}"
diverged = "[◆↑${ahead_count}↓${behind_count}](red)"
behind = "↓${count}"
stashed = ""
untracked = "…"
renamed = "[↻${count}](bold yellow)"
deleted = "[✘${count}](bold red)"
conflicted = "[✖${count}](red)"
modified = "[✚${count}](blue)"
staged = "[●${count}](red)"
[nodejs]
format = "[$symbol($version )]($style)"
symbol = "js "
style = "bold yellow"
[ruby]
format = "[$symbol($version )]($style)"
[python]
format = "[$symbol($version )]($style)"
style = "bold green"
[custom.python_env]
when = 'test -n "$VIRTUAL_ENV"'
format = "[\\($output\\)]($style) "
command = "basename $VIRTUAL_ENV"
style = "bold green"
[terraform]
format = "[$symbol($version )]($style)"
[golang]
format = "[$symbol($version )]($style)"
[rust]
format = "[$symbol($version )]($style)"