feat: Working on devpod in starship

This commit is contained in:
2026-02-02 09:20:37 -05:00
parent 2795a86441
commit c4faef634a

View File

@@ -5,9 +5,9 @@ command_timeout = 1000
format = """ format = """
[](color_orange)\ [](color_orange)\
$os\ $os\
$container\
$username\ $username\
$hostname\ $hostname\
$devpod\
[](bg:color_pink fg:color_orange)\ [](bg:color_pink fg:color_orange)\
$directory\ $directory\
[](fg:color_pink bg:color_bg1)\ [](fg:color_pink bg:color_bg1)\
@@ -34,9 +34,13 @@ color_maroon = '#eba0ac'
color_pink = '#f5c2e7' color_pink = '#f5c2e7'
color_text = '#585b70' 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 disabled = false
style = '[$symbol \[$name\]]($style) '
[os] [os]
disabled = false disabled = false