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