-
Notifications
You must be signed in to change notification settings - Fork 5
/
default_starship.toml
66 lines (52 loc) · 1.74 KB
/
default_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
format ="""
${env_var.is_elevated_session}$username@$hostname $git_branch$git_commit$git_state$git_status
$ruby$rust$golang$dotnet$directory"""
# Inserts a blank line between shell prompts
add_newline = true
# Make it a tad faster than 500
command_timeout = 1500
# LINE ONE
[env_var.is_elevated_session] # TODO: Turn this into a custom env_var once implemented
variable = "ISELEVATEDSESSION"
symbol = '⚡'
format = "[$symbol](bold bright-yellow)"
[username]
format = "[$user](bg:black)"
disabled = false
show_always = true
[hostname]
ssh_only = false
format = "$hostname"
## Virtual Working Environment:
##TODO: virtual env: vagrant, docker
[git_branch]
symbol = " -> "
always_show_remote = true
format = "on [$branch$symbol$remote_name/$remote_branch]($style) "
[git_commit]
tag_disabled = false
[git_state]
# No overrides
[git_status]
# Show the info relative to the upstream first: how many commits ahead/behind/diverged/conflicted
# Show the info for current working set after: deleted, staged, renamed, modified, untracked.
format = "$ahead$behind$diverged$conflicted$deleted$staged$renamed$modified$untracked"
conflicted = "[≠$count ](bold purple)"
ahead = "[⇡$count ](bold purple)"
behind = "[⇣$count ](bold purple)"
diverged = "[⇕$count ](bold purple)"
untracked = "[+$count ](bold blue)"
modified = "[~$count ](bold cyan)"
staged = "[++$count ](bold green)"
renamed = "[»$count ](bold white)"
deleted = "[✘$count ](bold red)"
# LINE TWO
[character]
success_symbol = "[ ✓](bold bg:black fg:green)"
error_symbol = "[ ✗](bold bg:black fg:bright-purple)"
[directory]
truncation_length = 3
truncate_to_repo = false
read_only = "🧾"
format = "[$read_only$path > ](fg:cyan)"
## Languages: