-
Notifications
You must be signed in to change notification settings - Fork 0
/
starship.toml
76 lines (64 loc) · 1.79 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
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
add_newline = true # Inserts a blank line between shell prompts
command_timeout = 1000 # Change command timeout from 500 to 1000 ms
format = """$env_var $all""" # Add custom formatting before other stuff
# Drop ugly default prompt characters
[character]
success_symbol = "[❯](bold green)"
error_symbol = ""
# ---
# Shows an icon depending on what distro it is running on
[env_var.STARSHIP_DISTRO]
format = '[$env_value](bold white) '
variable = "STARSHIP_DISTRO"
disabled = false
# Shows the current username
[env_var.USER]
format = '[$env_value](bold white) '
variable = "USER"
disabled = false
# Shows an icon depending on what device it is running on
[env_var.STARSHIP_DEVICE]
format = 'on [$env_value](bold yellow)'
variable = "STARSHIP_DEVICE"
disabled = false
# ---
# Shows the hostname
[hostname]
ssh_only = false
format = "[$hostname](bold yellow) "
disabled = false
# Shows current directory
[directory]
truncation_length = 1
truncation_symbol = "…/"
home_symbol = " ~"
read_only_style = "197"
read_only = " "
format = "at [$path]($style)[$read_only]($read_only_style) "
# Shows current git branch
[git_branch]
symbol = " "
format = "via [$symbol$branch]($style) "
truncation_length = 4
truncation_symbol = "…/"
style = "bold green"
# Shows current git status
[git_status]
format = '[\($all_status$ahead_behind\)]($style) '
conflicted = "🏳 "
ahead = "⇡${count}"
behind = "⇣${count}"
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
up_to_date = " "
untracked = " "
stashed = " "
modified = " "
staged = '[++\($count\)](green)'
renamed = "襁 "
deleted = " "
style = "bold green"
# Disable some modules that aren't needed anymore
#[username]
#disabled = true