Update Starship.toml

main
The_miro 2024-11-06 12:51:53 +01:00
parent e37c31f755
commit 1ae520a9a3
1 changed files with 13 additions and 35 deletions

View File

@ -1,31 +1,5 @@
format = """ format = "[](#f50505)$os$username[](bg:#E40046 fg:#f50505)$directory[](fg:#E40046 bg:#5018dd)$git_branch$git_status[](fg:#5018dd bg:#86BBD8)$c$elixir$elm$golang$gradle$haskell$java$julia$nodejs$nim$rust$scala[](fg:#86BBD8 bg:#06969A)$docker_context[](fg:#06969A bg:#5018dd)$time[ ](fg:#5018dd)"
[](#f50505)\
$os\
$username\
[](bg:#cf045f fg:#f50505)\
$directory\
[](fg:#cf045f bg:#FCA17D)\
$git_branch\
$git_status\
[](fg:#FCA17D bg:#86BBD8)\
$c\
$elixir\
$elm\
$golang\
$gradle\
$haskell\
$java\
$julia\
$nodejs\
$nim\
$rust\
$scala\
[](fg:#86BBD8 bg:#06969A)\
$docker_context\
[](fg:#06969A bg:#9504cf)\
$time\
[ ](fg:#9504cf)\
"""
# Disable the blank line at the start of the prompt # Disable the blank line at the start of the prompt
# add_newline = false # add_newline = false
@ -36,21 +10,24 @@ $time\
show_always = true show_always = true
style_user = "bg:#f50505" style_user = "bg:#f50505"
style_root = "bg:#f50505" style_root = "bg:#f50505"
format = '[$user ]($style)' format = "[$user ]($style)"
disabled = false disabled = false
# An alternative to the username module which displays a symbol that # An alternative to the username module which displays a symbol that
# represents the current operating system # represents the current operating system
[os] [os]
style = "bg:#f50505" style = "bg:#f50505"
disabled = true # Disabled by default disabled = false # Disabled by default
[directory] [directory]
style = "bg:#cf045f"
style = "bg:#E40046"
format = "[ $path ]($style)" format = "[ $path ]($style)"
truncation_length = 3 truncation_length = 3
truncation_symbol = "…/" truncation_symbol = "…/"
# Here is how you can shorten some long paths by text replacement # Here is how you can shorten some long paths by text replacement
# similar to mapped_locations in Oh My Posh: # similar to mapped_locations in Oh My Posh:
[directory.substitutions] [directory.substitutions]
@ -58,6 +35,7 @@ truncation_symbol = "…/"
"Downloads" = " " "Downloads" = " "
"Music" = " " "Music" = " "
"Pictures" = " " "Pictures" = " "
# Keep in mind that the order matters. For example: # Keep in mind that the order matters. For example:
# "Important Documents" = " 󰈙 " # "Important Documents" = " 󰈙 "
# will not be replaced, because "Documents" was already substituted before. # will not be replaced, because "Documents" was already substituted before.
@ -86,11 +64,11 @@ format = '[ $symbol ($version) ]($style)'
[git_branch] [git_branch]
symbol = "" symbol = ""
style = "bg:#FCA17D" style = "bg:#5018dd"
format = '[ $symbol $branch ]($style)' format = '[ $symbol $branch ]($style)'
[git_status] [git_status]
style = "bg:#FCA17D" style = "bg:#5018dd"
format = '[$all_status$ahead_behind ]($style)' format = '[$all_status$ahead_behind ]($style)'
[golang] [golang]
@ -140,5 +118,5 @@ format = '[ $symbol ($version) ]($style)'
[time] [time]
disabled = false disabled = false
time_format = "%R" # Hour:Minute Format time_format = "%R" # Hour:Minute Format
style = "bg:#9504cf" style = "bg:#5018dd"
format = '[  $time ]($style)' format = "[  $time ]($style)"