From aac556d735ad483230d2a17bc99fd70efbdf6ce3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Mon, 9 Jun 2025 01:03:28 +0200 Subject: [PATCH] feat(starship): order for all modules --- .config/starship/starship.toml | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/.config/starship/starship.toml b/.config/starship/starship.toml index 9c124525..a15e1600 100644 --- a/.config/starship/starship.toml +++ b/.config/starship/starship.toml @@ -3,6 +3,22 @@ # Inserts a blank line between shell prompts add_newline = true +format = """ +$username\ +$hostname\ +$kubernetes\ +$directory\ +$git_branch\ +${custom.giturl}\ +$git_commit\ +$git_state\ +$git_metrics\ +$git_status\ +$docker_context\ +${custom.docker}\ +$all +""" + # Duration entry [cmd_duration] min_time = 10000 @@ -10,10 +26,9 @@ format = "[󰔟 $duration](bold cyan)" # Git entry [git_metrics] -disabled = false added_style = "green" deleted_style = "red" -format = '(\([+$added]($added_style)/[-$deleted]($deleted_style)\)) ' +format = '(\([+$added]($added_style)/[-$deleted]($deleted_style)\))' [git_status] ahead = '[ $count](bold green) ' @@ -25,7 +40,7 @@ deleted = '[ $count](bold red) ' modified = '[ $count](bold yellow) ' behind = '[ $count](bold yellow) ' renamed = '[󰬴 $count](bold blue) ' -up_to_date = '[ ](bold green) ' +up_to_date = '[](bold green) ' diverged = '[ $ahead_count  $behind_count ](bold red) ' format = '([$all_status$ahead_behind]($style))' @@ -41,7 +56,7 @@ symbol = " " # Gcloud entry [gcloud] format = "on [$symbol$domain]($style) " -symbol = "☁️ " +symbol = " " style = "bold blue" # Directory entry @@ -90,6 +105,7 @@ format = "at $output " # Nerd fonts preset [aws] symbol = " " +disabled = true [buf] symbol = " "