From c4faef634a065ee9174d9da5624d2935f7b2b450 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Mon, 2 Feb 2026 09:20:37 -0500 Subject: [PATCH] feat: Working on devpod in starship --- env/.config/starship/starship.toml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/env/.config/starship/starship.toml b/env/.config/starship/starship.toml index 1d071d4..53a514d 100644 --- a/env/.config/starship/starship.toml +++ b/env/.config/starship/starship.toml @@ -5,9 +5,9 @@ command_timeout = 1000 format = """ [](color_orange)\ $os\ -$container\ $username\ $hostname\ +$devpod\ [](bg:color_pink fg:color_orange)\ $directory\ [](fg:color_pink bg:color_bg1)\ @@ -34,9 +34,13 @@ color_maroon = '#eba0ac' color_pink = '#f5c2e7' color_text = '#585b70' -[container] +[custom.devpod] +description = "Displays the active Devpod workspace" +command = "echo $(echo $DEVPOD_WORKSPACE_ID | sed 's/.*://')" +when = "[[ -n $DEVPOD_WORKSPACE_ID ]]" +style = "bold blue" +format = "[📦 $output]($style) " disabled = false -style = '[$symbol \[$name\]]($style) ' [os] disabled = false