Start the starship prompt and build it from the active theme
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
add_newline = true
|
||||
command_timeout = 200
|
||||
format = "[$directory$git_branch$git_status]($style)$character"
|
||||
palette = "blob"
|
||||
|
||||
[palettes.blob]
|
||||
accent = "{{ accent }}"
|
||||
foreground = "{{ foreground }}"
|
||||
muted = "{{ muted }}"
|
||||
success = "{{ green }}"
|
||||
warning = "{{ yellow }}"
|
||||
error = "{{ red }}"
|
||||
|
||||
[character]
|
||||
error_symbol = "[✗](bold error)"
|
||||
success_symbol = "[❯](bold accent)"
|
||||
|
||||
[directory]
|
||||
style = "foreground"
|
||||
truncation_length = 2
|
||||
truncation_symbol = "…/"
|
||||
repo_root_style = "bold accent"
|
||||
repo_root_format = "[$repo_root]($repo_root_style)[$path]($style)[$read_only]($read_only_style) "
|
||||
|
||||
[git_branch]
|
||||
format = "[$branch]($style) "
|
||||
style = "italic accent"
|
||||
|
||||
[git_status]
|
||||
format = '[$all_status]($style)'
|
||||
style = "warning"
|
||||
ahead = "⇡${count} "
|
||||
diverged = "⇕⇡${ahead_count}⇣${behind_count} "
|
||||
behind = "⇣${count} "
|
||||
conflicted = " "
|
||||
up_to_date = " "
|
||||
untracked = "? "
|
||||
modified = " "
|
||||
stashed = ""
|
||||
staged = ""
|
||||
renamed = ""
|
||||
deleted = ""
|
||||
Reference in New Issue
Block a user