-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstarship.toml
More file actions
40 lines (32 loc) · 849 Bytes
/
starship.toml
File metadata and controls
40 lines (32 loc) · 849 Bytes
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
"$schema" = 'https://starship.rs/config-schema.json'
add_newline = true
format = """
$directory\
$git_branch\
$git_commit\
$git_metrics\
$git_status\
$git_state
$character"""
[directory]
format = "[$path]($style)[$read_only]($read_only_style) "
truncation_length = 2
truncate_to_repo = false
truncation_symbol = "…/"
[git_branch]
format='[$symbol$branch(:$remote_branch)]($style) '
symbol=''
[git_commit]
commit_hash_length=7
only_detached = false
format="[ $hash$tag](bold #aaaaaa)"
[git_metrics]
disabled=false
format='([ +$added]($added_style) )([-$deleted]($deleted_style))'
[git_status]
format='([$modified$staged $ahead_behind]($style) )'
up_to_date = '[\[UPTODATE\]](green)'
behind = '[\($count BIHIND\)](red)'
ahead = '[\[$count AHEAD\]](red)'
modified=' [\(Modified\)](#ee7800)'
staged = '[ \($count file staging\)](green)'