-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstarship.toml
71 lines (67 loc) · 1.49 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
# Get editor completions based on the config schema
# "$schema" = 'https://starship.rs/config-schema.json'
# global options
add_newline = false
scan_timeout = 80
command_timeout = 500
# prompt line template
format='$status$cmd_duration$jobs$time$git_branch$git_status$username@$hostname:$directory$character'
[status]
disabled=false
map_symbol=true
pipestatus=true
format='[$symbol$status]($style) '
[cmd_duration]
disabled=false
min_time=100
format="[$duration](white) "
[jobs]
disabled=false
format='[$number]($style) '
number_threshold=1
[time]
disabled=false
style="white"
use_12hr=true
format="[$time]($style) "
time_format="%I:%M%P %m/%d"
[git_branch]
disabled=false
format='[\[$branch(:$remote_branch)\] ](purple)'
[git_status]
disabled=false
format='([\($all_status$ahead_behind\) ](202))'
ahead='A$count'
behind='B$count'
conflicted='≠'
deleted='D$count'
diverged='D${ahead_count}⇣${behind_count}'
modified='M$count'
renamed='R$count'
staged='S$count'
stashed='$$count'
untracked='U$count'
[username]
disabled=false
show_always=true
format='[$user]($style)'
[hostname]
disabled=false
ssh_only=false
format='[$ssh_symbol$hostname](214)'
[directory]
disabled=false
format='[$path]($style)[$read_only]($read_only_style)'
read_only=''
truncation_symbol='…/'
[character]
disabled=false
format='''
$symbol '''
success_symbol = '[❯](bold green)'
error_symbol='[❯](bold red)'
[custom.history]
description='commit history after each command'
command='history -a'
when=true
format='[$symbol($output )]($style)'