From 31ec6d262239e3407bb43ca3f90926ffeb02a1ad Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 13 Jul 2023 13:18:35 +1000 Subject: [PATCH 1/2] Nicely display command duration in prompt with icon --- config/starship.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/starship.toml b/config/starship.toml index 0f81b6c..3eba119 100644 --- a/config/starship.toml +++ b/config/starship.toml @@ -6,6 +6,9 @@ format = '$all$kubernetes$line_break$jobs$battery$time$status$os$container$shell success_symbol = "[❯](bold purple)" vicmd_symbol = "[❮](bold purple)" +[cmd_duration] +format = '[ $duration]($style) ' + [git_status] style = "218" From 80f95671087c90323acadac6f2e06c042b716a03 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 13 Jul 2023 13:18:53 +1000 Subject: [PATCH 2/2] Pretty up Python version display in prompt --- config/starship.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/starship.toml b/config/starship.toml index 3eba119..ad13696 100644 --- a/config/starship.toml +++ b/config/starship.toml @@ -169,6 +169,7 @@ symbol = " " symbol = "🪺 " [python] +format = "[$symbol($version)]($style) " symbol = " " [rlang]