From 1ae520a9a3dc4a53eb7f9d2fbbae5eb8dc2600d0 Mon Sep 17 00:00:00 2001 From: The_miro Date: Wed, 6 Nov 2024 12:51:53 +0100 Subject: [PATCH] Update Starship.toml --- Starship.toml | 48 +++++++++++++----------------------------------- 1 file changed, 13 insertions(+), 35 deletions(-) diff --git a/Starship.toml b/Starship.toml index 656ef94..5381d20 100644 --- a/Starship.toml +++ b/Starship.toml @@ -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)' \ No newline at end of file +style = "bg:#5018dd" +format = "[  $time ]($style)" \ No newline at end of file