Rewrite starship config

main
Yax 3 months ago
parent 92734fdac6
commit 4ef57689a3

@ -1,30 +1,15 @@
# Get editor completions based on the config schema # Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json' "$schema" = 'https://starship.rs/config-schema.json'
# colorscheme
#
# #2E3440
# #3B4252
# #434C5E
# #4C566A
# #D8DEE9
# #E5E9F0
# #ECEFF4
# #8FBCBB
# #88C0D0
# #81A1C1
# #5E81AC
# #BF616A
# #D08770
# #EBCB8B
# #A3BE8C
# #B48EAD
format = """ format = """
$username\ [ ](bg:inverted fg:#bf616a)\
$username$hostname\
[](bg:#d08770 fg:#bf616a)\
$directory\ $directory\
[](fg:#d08770 bg:#ebcb8b)\
$git_branch\ $git_branch\
$git_status\ $git_status\
[](fg:#ebcb8b bg:#86BBD8)\
$c\ $c\
$elixir\ $elixir\
$elm\ $elm\
@ -32,53 +17,105 @@ $golang\
$haskell\ $haskell\
$java\ $java\
$julia\ $julia\
$nodejs\
$nim\ $nim\
$rust\ $rust\
[\uE0B0 ](fg:#81A1C1 bg:#2E3440)\ [](fg:#86BBD8 bg:#81a1c1)\
$line_break\ $kubernetes\
$character $docker_context\
[](fg:#81a1c1 bg:#5e81ac)\
$character\
$time\
[ ](fg:#5e81ac)\
""" """
command_timeout = 1000 # Disable the blank line at the start of the prompt
add_newline = false
[directory] # You can also replace your username with a neat symbol like  to save some space
style = "bg:#BF616A" [username]
format = "[ $path ]($style)[\uE0BE](bg:#BF616A fg:#D08770)" show_always = false
truncation_length = 3 style_user = "bg:#bf616a bold"
truncation_symbol = "…/" style_root = "bg:#bf616a bold"
truncate_to_repo = false format = '[$user]($style)'
[jobs] [hostname]
style = "bg:#bf616a bold"
format = '[@$hostname ]($style)'
ssh_only = false
disabled = true disabled = true
[character] [directory]
success_symbol = "[ \uE007 ](bg:#4C566A)[\uE0BC](fg:#4C566A)" style = "bg:#d08770 bold"
error_symbol = "[ \uE007 ](bg:#4C566A fg:#BF616A)[\uE0BC](fg:#4C566A)" format = "[ $path ]($style)"
truncation_length = 0
truncation_symbol = ""
[git_branch] [docker_context]
symbol = "\uE0A0" symbol = ""
style = "bg:#D08770" style = "bg:#81a1c1 fg:#2e3440 bold"
format = "[[ $symbol $branch ](bg:#D08770)]($style)" format = '[ $symbol $context ]($style) $path'
[git_metrics] [kubernetes]
disabled = false symbol = "☸ "
style = "bg:#81a1c1 fg:#2e3440 bold"
format = '[ $symbol $context ]($style)'
disabled = true
[git_branch]
symbol = ""
style = "bg:#ebcb8b bold fg:#bf616a"
format = '[ $symbol $branch ]($style)'
[git_status] [git_status]
format = "[($all_status$ahead_behind)]($style)[\uE0BC](bg:#81A1C1 fg:#D08770)" style = "bg:#ebcb8b bold fg:#bf616a"
style = "bg:#D08770" format = '[$all_status$ahead_behind ]($style)'
conflicted = "👿 $count " ahead = ' ${count}'
ahead = "⇡ $count " diverged = ' ${ahead_count}${behind_count}'
behind = "⇣ $count " behind = ' ${count}'
diverged = " $count "
untracked = "🤷 $count " [golang]
stashed = "‍📦 $count " symbol = " "
modified = "פֿ $count " style = "bg:#88c0d0 fg:#2e3440 bold"
staged = "[ $count ]" format = '[ $symbol ($version) ]($style)'
renamed = " $count "
deleted = "🗑 $count "
[cmd_duration]
format = "[ 󰔚 $duration ]($style)"
style = "fg:#2e3440 bg:#d9dee9"
[haskell]
symbol = " "
style = "bg:#88c0d0"
format = '[ $symbol ($version) ]($style)'
[java]
symbol = " "
style = "bg:#88c0d0 fg:#2e3440 bold"
format = '[ $symbol ($version) ]($style)'
[julia]
symbol = " "
style = "bg:#88c0d0 fg:#2e3440 bold"
format = '[ $symbol ($version) ]($style)'
[nodejs]
symbol = ""
style = "bg:#88c0d0 fg:#2e3440 bold"
format = '[ $symbol ($version) ]($style)'
[nim]
symbol = " "
style = "bg:#88c0d0 fg:#2e3440 bold"
format = '[ $symbol ($version) ]($style)'
[rust]
symbol = ""
style = "bg:#88c0d0 fg:#2e3440 bold"
format = '[ $symbol ($version) ]($style)'
[time]
disabled = true
time_format = "%R" # Hour:Minute Format
style = "bg:#5e81ac bold"
format = '[$time ]($style)'
[character]
disabled = false
success_symbol = "[ ♥ ](bg:#5e81ac)"
error_symbol = "[ ✖ ](bg:#5e81ac)"
format = "$symbol"

Loading…
Cancel
Save