From 3b82637b7cb29a033fefde7c5dc1b30b64756487 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 30 Apr 2025 13:30:47 +0200 Subject: starship: update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- .config/starship.toml | 49 ++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 38 insertions(+), 11 deletions(-) diff --git a/.config/starship.toml b/.config/starship.toml index d1f8248..c649bc7 100644 --- a/.config/starship.toml +++ b/.config/starship.toml @@ -8,10 +8,14 @@ $git_branch\ $git_commit\ $git_state\ \ +$python\ +$nodejs\ $jobs\ $shlvl\ -${custom.toolbox}\ +$status\ +$cmd_duration\ \ +$container\ $character\ """ @@ -21,19 +25,22 @@ command_timeout = 100 [username] format = "[$user@]($style)" style_user = "dimmed" +disabled = false [hostname] format = "[$hostname]($style) " style = "dimmed" +disabled = false [directory] truncation_length = 0 truncate_to_repo = false -style = "bright-yellow" +style = "yellow" +disabled = false [git_branch] -format = "[$symbol$branch]($style) " -disabled = true +format = '[$symbol$branch]($style) ' +disabled = false [git_commit] disabled = true @@ -41,20 +48,40 @@ disabled = true [git_state] disabled = true +[python] +symbol = "󱔎 " +format = '[${symbol}${pyenv_prefix}(${version})(\($virtualenv\))]($style) ' +disabled = false + +[nodejs] +symbol = "󰎙 " +format = '[$symbol($version)]($style) ' +disabled = false + [jobs] symbol = "∆" +disabled = false [shlvl] symbol = "☰" disabled = false -[custom.toolbox] -symbol = "⬢ " -style = "bright-blue" -format = "[$symbol]($style)" -when = """ test -f /run/.containerenv && test -f /run/.toolboxenv """ +[status] +symbol = "󰯆 " +not_found_symbol = "󰊠 " +sigint_symbol = "󰧻 " +signal_symbol = "󱐋 " +map_symbol = true +disabled = false + +[cmd_duration] +disabled = true + +[container] +symbol = "󱍔 " +disabled = false [character] -format = "$symbol " -success_symbol = "[❯](bold white)" +format = '$symbol ' +success_symbol = "[❯](bold $style)" error_symbol = "[❯](bold red)" -- cgit 1.4.1