From f9a7c85b8ca9df8a1c08750ab6b4ecf4e4dc1182 Mon Sep 17 00:00:00 2001 From: Adam Hellberg Date: Thu, 12 Dec 2024 01:03:09 +0100 Subject: [PATCH] [starship] Update config --- config/starship.toml | 83 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 77 insertions(+), 6 deletions(-) diff --git a/config/starship.toml b/config/starship.toml index a31bafd..dd5d818 100644 --- a/config/starship.toml +++ b/config/starship.toml @@ -2,7 +2,14 @@ right_format = '$status' +[character] +success_symbol = "[❯](purple)" +error_symbol = "[❯](red)" +vimcmd_symbol = "[❮](green)" + [directory] +style = 'blue' +read_only = " 󰌾" #truncation_symbol = '…/' [directory.substitutions] @@ -11,21 +18,42 @@ right_format = '$status' 'G:/Users/adamh' = '(G:) ~' [cmd_duration] -format = '[$duration](bold yellow)' +format = '[$duration]($style) ' # format = '⏱ [$duration](bold yellow)' +style = "yellow" + +[c] +symbol = " " + +[crystal] +symbol = " " [direnv] disabled = true +[docker_context] +symbol = " " + +[elixir] +symbol = " " + +[fennel] +symbol = " " + +[fossil_branch] +symbol = " " + [gcloud] disabled = true [git_branch] -format = '[$symbol$branch(:$remote_branch)]($style) ' +format = '[$branch(:$remote_branch)]($style) ' +style = 'bright-black' +symbol = " " [git_commit] tag_disabled = false -tag_symbol = ' ' +tag_symbol = '  ' [git_metrics] disabled = true @@ -37,16 +65,59 @@ ahead = '[⇡${count}](green)' behind = '⇣${count}' diverged = '[⇡${ahead_count}⇣${behind_count}](bold red)' # ⇕ up_to_date = '' -untracked = '[?${count}](bold red)' +untracked = '[?${count}](red)' stashed = '≡${count}' modified = '~${count}' staged = '[+${count}](green)' renamed = '»${count}' -deleted = '[-${count}](bold red)' +deleted = '[-${count}](red)' typechanged = '' -style = 'bold yellow' +style = 'cyan' +# style = 'bold yellow' ignore_submodules = false +[golang] +symbol = " " + +[haskell] +symbol = " " + +[java] +symbol = " " + +[kotlin] +symbol = " " + +[lua] +symbol = " " + +[meson] +symbol = "󰔷 " + +[nix_shell] +symbol = " " + +[nodejs] +symbol = " " + +[package] +symbol = "󰏗 " + +[perl] +symbol = " " + +[php] +symbol = " " + +[python] +symbol = " " + +[ruby] +symbol = " " + +[rust] +symbol = "󱘗 " + [status] format = '[$symbol$status( $common_meaning)]($style)' symbol = '' -- 2.54.0