-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstarship.toml
113 lines (96 loc) · 2.09 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
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
"$schema" = 'https://starship.rs/config-schema.json'
format = """\
([\\[](fg:8) \
$custom\
$python\
$package\
$container\
$terraform\
[\\]](fg:8)
)\
([\\[](fg:8) $git_branch$git_state$git_status$git_metrics[\\]](fg:8)
)\
([\\[](fg:8) \
$username\
$hostname\
$status\
$cmd_duration\
$jobs\
[\\]](fg:8)
)\
$directory
[\\$](bold) """
scan_timeout = 10
add_newline = false
[username]
show_always = false
format = "[$user@](fg:8)"
[hostname]
ssh_only = true
format = "[$hostname](fg:8) "
[directory]
style = "bold cyan"
read_only = " "
truncate_to_repo = false
truncation_length = 50
format = "[ $path]($style)[$read_only]($read_only_style) "
#repo_root_style = "red"
home_symbol = "~"
#disabled = true
[git_branch]
format = " [$symbol$branch]($style) "
symbol = ""
[git_status]
format = "([$conflicted$stashed$deleted$renamed$modified$staged$untracked$ahead_behind]($style))"
style = "bold cyan"
up_to_date = ""
conflicted = "=$count "
ahead = "⇡$count "
behind = "⇣$count "
diverged = "⇕$count "
untracked = "?$count "
stashed = "$$count "
modified = "!$count "
staged = "+$count "
renamed = "»$count "
deleted = "✘$count "
[git_metrics]
disabled = false
format = "([+$added]($added_style) )([-$deleted]($deleted_style) )"
[jobs]
disabled = false
format = " bg jobs: [$symbol$number]($style) "
number_threshold = 1
symbol = ""
[python]
format = "[${symbol}${pyenv_prefix}(${version} )(($virtualenv) )]($style)"
symbol = " "
[package]
format = "[$symbol$version]($style) "
symbol = " "
[cmd_duration]
min_time = 60_000
[custom.dirstack]
command = "echo $DIRSTACK"
when = """test -n "$DIRSTACK" """
style = "fg:8"
symbol = " "
format = "[$symbol($output)]($style) "
os = "linux"
[status]
disabled = false
format = "[(✖ $status $common_meaning )](bold red)"
[custom.nix]
command = "nix-shell-info"
when = "nix-shell-info"
symbol = ""
style = "bold cyan"
format = "[$symbol]($style) [$output]($style) "
os = "linux"
[character]
success_symbol = "[\\$](bold)"
error_symbol = "[\\$](bold)"
[custom.direnv]
format = "[direnv]($style) "
style = "fg:yellow dimmed"
when = "printenv DIRENV_FILE"